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
opset 12 support #897
opset 12 support #897
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For lessorequal - I think it would be ok to leave it as is
class Inverse: | ||
@classmethod | ||
def version_12(cls, ctx, node, **kwargs): | ||
utils.make_sure(node.get_attr('adjoint').i == 0, "adjoint must be false") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why "adjoint must be false"? Does this parameter simply mean we should compute the inverse of the adjoint of this matrix if set to true? It seems we should be able to handle "true" as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested with inv(A) = adj(A)/det(A) approach, witnessed big diff. Will address adjoint case later.
Adding support for opset 12 ops.