Skip to content
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 4】add paddle one_hot_v2 op #15855

Closed
wants to merge 2 commits into from

Conversation

AndPuQing
Copy link
Contributor

@AndPuQing AndPuQing commented Feb 21, 2023

@AndPuQing AndPuQing requested a review from a team as a code owner February 21, 2023 14:02
@github-actions github-actions bot added the category: PDPD FE OpenVINO PaddlePaddle FrontEnd label Feb 21, 2023

for test in test_cases:
data_x = np.array([0, 1, 2, 3, 4, 5]).astype(test)
one_hot_v2("one_hot_v2_" + test, data_x, 6)
Copy link
Contributor

Choose a reason for hiding this comment

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

hi @AndPuQing how about "depth_tensor" as a input tensor, but not a attribute ?

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.

None yet

3 participants