-
Notifications
You must be signed in to change notification settings - Fork 157
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
[onert-micro] Add BroadcastTo op #13756
base: master
Are you sure you want to change the base?
[onert-micro] Add BroadcastTo op #13756
Conversation
This pr adds BroadcastTo operation to onert-micro. ONE-DCO-1.0-Signed-off-by: Artem Balyshev <[email protected]
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
} | ||
|
||
// Recursive call to find the next broadcasting. | ||
for (indexes[dim] = 0; indexes[dim] < input_desc.extents[dim]; ++indexes[dim]) |
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.
What can be the depth of recursion?
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.
It is 5, you can find it in
constexpr int kMaxDims = 5; |
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
This pr adds BroadcastTo operation to onert-micro.
ONE-DCO-1.0-Signed-off-by: Artem Balyshev <[email protected]