-
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
[PDPD]Added and fixed Paddle convert. #28347
base: master
Are you sure you want to change the base?
Conversation
build_jenkins |
Hi @ceciliapeng2011 Could you please take a review? Thanks! |
return res; | ||
} | ||
|
||
Output<Node> get_1d_tensor(const Output<Node>& node) { |
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.
Do you meet any problem here without inserting unsqueeze node when node_dim == 0? OpenVINO supports scalar (rank==0).
return res; | ||
} | ||
|
||
Output<Node> get_1d_tensor(const Output<Node>& node) { |
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 name "get_1d_tensor" sounds a bit mis-leading - it does not turn any tensor to 1D, right?Suggest change to something like "get_tensor_safe".
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. Leave some minor comments.
build_jenkins |
value_node = opset6::Constant::create(dtype, {1}, {value}); | ||
value_node = opset6::Constant::create(dtype, {}, {value}); | ||
} else if (dtype == element::f64) { | ||
float value = static_cast<double>(node.get_attribute<float>("value")); |
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.
float value = static_cast<double>(node.get_attribute<float>("value")); | |
double value = static_cast<double>(node.get_attribute<float>("value")); |
It looks some windows building failure. @bukejiyu I show you the way to check the building logs. |
0dc5f4c
to
1553492
Compare
1553492
to
2f488af
Compare
build_jenkins |
Details:
Tickets: