-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
【PaddlePaddle Hackathon 3】Add Paddle tile operator #12277
Conversation
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.
Thanks for your contribution
src/core/tests/frontend/paddle/test_models/gen_scripts/generate_tile.py
Outdated
Show resolved
Hide resolved
x = np.array([1, 2, 1]).astype("float32") | ||
repeat_times = np.array([2, 1]).astype("int32") | ||
paddle_tile("tile_tensor_list", x, repeat_times, tensor_list=True) | ||
paddle_tile("tile_repeat_times_tensor", x, repeat_times, to_tensor=True) |
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.
The input X could be of more than 1 dimensions. And there could be cases like "Example 2: number of elements in “repeats” is more than shape of “data”" referring to https://docs.openvino.ai/latest/openvino_docs_ops_movement_Tile_1.html.
Could you please use a higher dimension (like 2 or 3 which is prone to have problems) instead of 1 and cover the case I mentioned?
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.
Thanks for contribution. Nice PR and close to be qualified.
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.
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.
Are there any other issues with this PR? |
Details:
Reference
uni-test passed
