Add assert in dropout#8
Merged
zhangYiIntel merged 1 commit intozhangYiIntel:yi3/enable_pdpd_opsfrom Jul 27, 2021
mangguo321:mang/fix_comments
Merged
Add assert in dropout#8zhangYiIntel merged 1 commit intozhangYiIntel:yi3/enable_pdpd_opsfrom mangguo321:mang/fix_comments
zhangYiIntel merged 1 commit intozhangYiIntel:yi3/enable_pdpd_opsfrom
mangguo321:mang/fix_comments
Conversation
| auto data = node.get_ng_input("X"); | ||
| auto dropout_implementation = | ||
| node.get_attribute<std::string>("dropout_implementation"); | ||
| PDPD_ASSERT((dropout_implementation == "downgrade_in_infer" || |
Owner
There was a problem hiding this comment.
please use this PDPD_OP_VALIDATION_CHECK
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 <cheng.luo@intel.com> Co-authored-by: Mang Guo <mang.guo@intel.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details:
Tickets: