onnxruntime
9c0e5954 - Output Tensor Shape Validation b/w ONNX inference and ORT (#7252)

Commit
4 years ago
Output Tensor Shape Validation b/w ONNX inference and ORT (#7252) * Adding Output Shape Validation for ORT-CPU execution flow * Skipping validation check in-case output is not a tensor. Fixed conv_transpose test. Ignoring pad and reduction test * Comparison b/w signed and un-signed int. Removed const for a primitive variable * Commented the un-used test function signature * Removed exception instead logging warning. Because there are lots of ORT tests which are failing because of this validation * Fixed warning condition and test * Fixed test and addressed comment on the PR * Output shape verification will happen only for final output nodes of the model * Changed variable name from camel case to underscore style * Enable the tests as the validation failure will now logs warning instead of throwing an exception * Adding Output Shape Validation for ORT-CPU execution flow * Resolve merge conflict * Comparison b/w signed and un-signed int. Removed const for a primitive variable * Commented the un-used test function signature * Removed exception instead logging warning. Because there are lots of ORT tests which are failing because of this validation * Fixed warning condition and test * Fixed test and addressed comment on the PR * Output shape verification will happen only for final output nodes of the model * Changed variable name from camel case to underscore style * Enable the tests as the validation failure will now logs warning instead of throwing an exception * Remove duplicate function "GetLogger()" Remove duplicate function "GetLogger()" * Fixed typo in method name TestConvTransposeOpInitializer Fixed typo in method name "TestConvTransposeOpInitializer" Co-authored-by: Sumit Agarwal <sumitagarwal@microsoft.com>
Author
Parents
Loading