We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cc290a commit 9bd2cf3Copy full SHA for 9bd2cf3
onnx_diagnostic/torch_models/validate.py
@@ -816,7 +816,7 @@ def validate_model(
816
return summary, data
817
818
819
-def compute_statistics(onnx_filename: str) -> Dict[str, float]:
+def compute_statistics(onnx_filename: str) -> Dict[str, Union[float, int]]:
820
"""Computes some statistics on the model itself."""
821
onx = onnx.load(onnx_filename, load_external_data=False)
822
0 commit comments