nod-ai / SHARK-TestSuite

Temporary home of a test suite we are evaluating
Apache License 2.0
2 stars 29 forks source link

Fix for calculating the number of elements in a zero rank tensor. #236

Closed AWoloszyn closed 4 months ago

AWoloszyn commented 4 months ago

num_elem was being calculated as a float, which was causing the bytearray() to fail, and the test to get silently dropped.

This fixes: onnx/operators/DynamicQuantizeLinear onnx/operators/DynamicQuantizeLinearCast