-
Notifications
You must be signed in to change notification settings - Fork 74
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
#8721: Add forward support for lei #8722
Conversation
00c04a5
to
fe8b5a4
Compare
Tensor ExecuteBinaryLE::operator()(const Tensor& input_a, const Tensor& input_b, const std::optional<MemoryConfig>& output_mem_config) { | ||
return ttnn::le(input_a, input_b, std::nullopt, output_mem_config, input_a); | ||
} | ||
|
||
|
||
Tensor ExecuteBinaryLE::operator()(const Tensor& input, float scalar, const std::optional<MemoryConfig>& output_mem_config) { | ||
return ttnn::le(input, scalar, std::nullopt, output_mem_config, input); | ||
} | ||
|
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.
Why does this operation still take in output mem config when it is specifically an in place operation so output_mem_config will never actually be needed/used since it will always be the input mem config?
8830e27
to
bb494e9
Compare
bb494e9
to
3548522
Compare
3548522
to
37d58f3
Compare
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.
Please have this reviewed by an MCW colleague prior to posting the PR.
Closing this PR. It will be Handled in PR link |
Ticket: #8721
Add LE_ op ( less than or equal to op , in_place operation)
Test File:
tests/ttnn/unit_tests/operations/test_binary_composite.py::test_lei_ttnn
- PASSEDtests/ttnn/unit_tests/operations/test_binary_composite.py::test_binary_lei_ttnn
- PASSEDCI test: Link - PASSED