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

Add assert in dropout #8

Merged
merged 1 commit into from
Jul 27, 2021
Merged

Add assert in dropout #8

merged 1 commit into from
Jul 27, 2021

Conversation

mangguo321
Copy link
Collaborator

Details:

  • item1
  • ...

Tickets:

  • ticket-id

@@ -18,6 +18,9 @@ namespace ngraph
auto data = node.get_ng_input("X");
auto dropout_implementation =
node.get_attribute<std::string>("dropout_implementation");
PDPD_ASSERT((dropout_implementation == "downgrade_in_infer" ||
Copy link
Owner

Choose a reason for hiding this comment

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

please use this PDPD_OP_VALIDATION_CHECK

@zhangYiIntel zhangYiIntel merged commit 52c9b5a into zhangYiIntel:yi3/enable_pdpd_ops Jul 27, 2021
zhangYiIntel added a commit that referenced this pull request Jul 30, 2021
* [FrontEnd]enable 16 ops conversion

* [FrontEnd]fix typo in interpolate

* param support tensor (#3)

* Update hard_sigmoid.cpp (#4)

* Yi3/fix paddle part2

* fix paddle conversion

* ops forward declaration

* use tile instead of broadcast

* Add validation check in dropout (#8)

* fix conflict

* fix code style

* fix transpose2

* use perm size in transpose2

* remove check in transpose2

Co-authored-by: Luo Cheng <[email protected]>
Co-authored-by: Mang Guo <[email protected]>
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