-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#12662: add keepdim fixes to reduce #16163
Conversation
a16ae62
to
222b0fd
Compare
222b0fd
to
ebf7dbd
Compare
ttnn/cpp/ttnn/operations/reduction/generic/generic_reductions.cpp
Outdated
Show resolved
Hide resolved
ttnn/cpp/ttnn/operations/reduction/generic/generic_reductions.cpp
Outdated
Show resolved
Hide resolved
1cd4921
to
ef60797
Compare
e59b85a
to
51ecc98
Compare
output, -2, /*keepdim=*/true, memory_config, compute_kernel_config, scalar, /*reshape=*/true); | ||
output = ttnn::transpose(output, 0, -2, memory_config); | ||
if (reshape) { | ||
output = ttnn::reshape(output, ttnn::Shape{output_shape}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Simple shape?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In a future PR. For now I'll keep as Shape to be in line with existing code.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Ticket
Link to Github Issue #12662 #14898 #13361 #12170
Problem description
What's changed
Checklist