Skip to content

Commit

Permalink
Merge branch 'pytorch:main' into bm/T145005253/build-scripts-8
Browse files Browse the repository at this point in the history
  • Loading branch information
q10 authored Mar 14, 2023
2 parents c0ab4d1 + f388b95 commit 65d8fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fbgemm_gpu/src/jagged_tensor_ops_autograd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -644,7 +644,7 @@ jagged_dense_elementwise_add_jagged_output(
const Tensor& y) {
// Convert to jagged
auto jagged_values =
DenseToJaggedOp::apply(y, x_offsets, c10::optional<int64_t>())[0];
DenseToJaggedOp::apply(y, x_offsets, x_values.size(0))[0];

// Add jagged_values + x_values -> sum_values
auto sum_values = x_values + jagged_values;
Expand Down

0 comments on commit 65d8fca

Please sign in to comment.