Skip to content

Conversation

@Asthestarsfalll
Copy link
Contributor

@Asthestarsfalll Asthestarsfalll requested a review from a team as a code owner August 5, 2022 11:17
@Asthestarsfalll Asthestarsfalll changed the title add paddle where_index op 【PaddlePaddle Hackathon 3】Add Paddle where_index operator Aug 5, 2022
Copy link
Contributor

@openvino-dev-samples openvino-dev-samples left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Thanks for your contribution

Copy link
Contributor

@liubo-intel liubo-intel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi, @Asthestarsfalll : thanks for contribution of this Paddle OP conversion. Have added some suggestions for rank 1 and Boolean type test case coverage. Other parts looks good to me.

@liubo-intel liubo-intel added category: PDPD FE OpenVINO PaddlePaddle FrontEnd PaddlePaddle Hackathon a Intel and Baidu joint Hackathon event labels Aug 15, 2022
@liubo-intel
Copy link
Contributor

Hi, @ceciliapeng2011 : do you have any other comments about this PR? if none, could you please help merge it? tks.

from save_model import saveModel
import sys
import paddle
from paddle.fluid.layer_helper import LayerHelper
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you use paddle 2.1 api instead of fluid which is obsolete after paddle 1.8 to build unit tests?

Copy link
Contributor Author

@Asthestarsfalll Asthestarsfalll Sep 1, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.
But there is a little diference between paddle.nonzero and where_index.
With the parameter as_tuple=True, paddle.nonzero will convert the output to tuple.

@Asthestarsfalll Asthestarsfalll requested a review from a team as a code owner September 1, 2022 07:02
Co-authored-by: Ilya Churaev <[email protected]>
@ilyachur ilyachur enabled auto-merge (squash) September 14, 2022 04:07
@ilyachur ilyachur merged commit 5e977fc into openvinotoolkit:master Sep 16, 2022
@ilya-lavrenov ilya-lavrenov added the ExternalPR External contributor label Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category: PDPD FE OpenVINO PaddlePaddle FrontEnd ExternalPR External contributor PaddlePaddle Hackathon a Intel and Baidu joint Hackathon event

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants