-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[TF FE] Support complex tensors for ScatterNd operations #23356
Conversation
Hi @rkazants please do check the changes. Thanks |
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.
need to fix
@rkazants addressed the changes. Please do give a look |
@rkazants please give your inputs to proceed. |
Shape shape_dims = shape.get_shape(); | ||
shape_dims.insert(shape_dims.begin(), 2); | ||
auto aux_shape = create_same_type_const<int32_t>(shape, std::vector<int32_t>{2}, Shape{1}); | ||
auto updated_shape = make_shared<v0::Concat>(OutputVector{aux_shape, shape}, 0); |
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 construct a graph using ShapeOf
and Concat
operations to append auxiliary dimension
auto aux_shape = create_same_type_const<int32_t>(shape, std::vector<int32_t>{2}, Shape{1}); | ||
auto updated_shape = make_shared<v0::Concat>(OutputVector{aux_shape, shape}, 0); | ||
|
||
auto input_data = create_same_type_const<int32_t>(updates, vector<int32_t>{0}, Shape{1}); |
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 create a scalar = 0 of the same type as updates
@rkazants addressed the changes please give it a look. |
@rkazants please review the changes |
This PR will be closed in a week because of 2 weeks of no activity. |
This PR was closed because it has been stalled for 2 week with no activity. |
Details:
Tickets: