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

[LITE][NPU][XPU] Refine the registration and implementation of op bridges #2700

Merged

Conversation

hong19860320
Copy link
Collaborator

@hong19860320 hong19860320 commented Dec 30, 2019

  1. Fix the compiling error which occurs when specify the ddk_root path and build for huawei NPU.
  2. Refine the registration of op bridges and make it similar to the registration of op and kernel.
  3. Refine the interfaces of the graph and node for op bridges, and support creating constant and data node automatically according to the attribute 'persistable' of the target tensor.
  4. Add the unit test of the scale and softmax op bridge for NPU.

Copy link
Collaborator

@zhupengyang zhupengyang left a comment

Choose a reason for hiding this comment

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

LGTM

@hong19860320 hong19860320 merged commit a29c84a into PaddlePaddle:develop Dec 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants