Skip to content

Commit 9bd2cf3

Browse files
committed
annot
1 parent 3cc290a commit 9bd2cf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/torch_models/validate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -816,7 +816,7 @@ def validate_model(
816816
return summary, data
817817

818818

819-
def compute_statistics(onnx_filename: str) -> Dict[str, float]:
819+
def compute_statistics(onnx_filename: str) -> Dict[str, Union[float, int]]:
820820
"""Computes some statistics on the model itself."""
821821
onx = onnx.load(onnx_filename, load_external_data=False)
822822

0 commit comments

Comments
 (0)