-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Adding Bernoulli operator #3431
Conversation
It looks like it might be possible to define this as a function using RandomUniformLike? E.g., using |
ab436ae
to
2300d37
Compare
dd77ee5
to
640ebd8
Compare
How did you generate the test data? The .py should also be checked in along with this PR |
this op should be registered in operator_sets.h |
please also add shape inference test for this op |
Thanks for the good catch. |
38d14aa
to
66c1b98
Compare
@gramalingam @askhade |
@postrational Would you also convenient to help us review this Bernoulli spec PR? Thanks! |
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
@gramalingam @askhade |
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <deyhuang@qq.com>
Signed-off-by: hwangdeyu <dejack953@outlook.com>
8aeb158
to
61ba6de
Compare
Adding new operator "Bernoulli" to ONNX.
This op is needed for HuggingFace Transformer model export from ORTModule.