Skip to content

Conversation

fatcat-z
Copy link
Collaborator

When a function was converted to an ONNX model, the input_signature will be checked. The logic is we want to check if the input_signature is None, but the current way may make a mistake for some inputs which are not TensorSpec but still valid, so correct it.

@fatcat-z fatcat-z requested review from hwangdeyu and guschmue May 24, 2022 09:48
@fatcat-z fatcat-z self-assigned this May 24, 2022
@fatcat-z
Copy link
Collaborator Author

This PR will resolve one issue in #1848.

Signed-off-by: Jay Zhang <[email protected]>
Copy link
Contributor

@hwangdeyu hwangdeyu left a comment

Choose a reason for hiding this comment

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

LGTM!

@fatcat-z fatcat-z merged commit e099356 into onnx:main May 25, 2022
@fatcat-z fatcat-z deleted the update_func_check branch May 25, 2022 09:10
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