-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[PT FE] Added support for aten::__lshift__ and aten::__rshift__ and aten::bitwise_left_shift and aten::bitwise_right_shift #28939
base: master
Are you sure you want to change the base?
Conversation
…eft_shift, and aten::bitwise_right_shift with corresponding tests.
…into shiftOperations
…into shiftOperations
…3/openvino into shiftOperations
…3/openvino into shiftOperations
Hi @mvafin, |
|
||
auto [input_tensor, shift_amount] = get_inputs_with_promoted_types(context, 0, 1); | ||
|
||
auto lshift_node = context.mark_node(std::make_shared<v15::BitwiseLeftShift>(input_tensor, shift_amount)); |
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.
These two operations are sort of binary operations for which we do not create separate source files and translator. Please check how other binary operations are supported and support yours in the same way.
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.
thank you for your review,
I've started working on resolving the problem
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.
@rkazants I've resolved the problem
hi @mvafin , |
Details:
Tickets: