Skip to content

Conversation

chentong319
Copy link
Collaborator

When the input to the model is not generated according to the model signature, the provided input may not match the signature and cause weird errors. Turning the check on by default will detect such errors. The overhead should be neglectable even for a toy model.

Signed-off-by: Chen Tong <chentong@us.ibm.com>
Copy link
Collaborator

@tungld tungld left a comment

Choose a reason for hiding this comment

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

LGTM!

@chentong319
Copy link
Collaborator Author

@tungld Thanks for approval. But the test failed. I did some investigation. The reason is for dialect defined type: !onnx.String. I will save this to issue and fix it later.

Signed-off-by: Chen Tong <chentong@us.ibm.com>
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