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
Cross Op #2683
Comments
Which model need it? |
It is used often for geometric related models, for example in this pytorch_geometric library |
@mtngld I met the same problem and work around it by the following code
the code above is following the cross formula on wikipedia. BTW, @ebarsoum In the 3d or rendering tasks, the cross operator is frequently used to get normal vector of a panel. For example, the CVPR 2020 best paper unsup3d, and ECCV 2020 best paper are both about 3d and rendering. So I'm glad to see the support of cross operator. This will benefit the convert from the research to application. |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Any chance this will be added to the supported ops? |
I need this too, to computing elements of a rotation matrix. |
I need this op too, is this operator supported now? |
Being added to onnxscript means that the export should work for Pytorch? |
That is correct. I am not aware of a strong motivation to standardize this operator in the ONNX spec |
Currently, ONNX does not include the Cross op.
PyTorch cross:
https://pytorch.org/docs/stable/torch.html#torch.cross
TF cross:
https://www.tensorflow.org/api_docs/python/tf/linalg/cross
The text was updated successfully, but these errors were encountered: