Skip to content

Commit 8a0546c

Browse files
committed
mypy
1 parent 643de15 commit 8a0546c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

onnx_diagnostic/reference/torch_ops/nn_ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def __init__(self, node: onnx.NodeProto, version: Optional[int] = None):
1313
self.axis = self.get_attribute_int(node, "axis", -1)
1414
self.epsilon = self.get_attribute_float(node, "epsilon", 1e-5)
1515
self.stash_type = onnx_dtype_to_torch_dtype(
16-
self.get_attribute_int(node, "stash_type", onnx.TensorProto.FLOAT)
16+
self.get_attribute_int(node, "stash_type", onnx.TensorProto.FLOAT) # type: ignore[arg-type]
1717
)
1818
self.compute_std = len(node.output) > 1
1919

0 commit comments

Comments
 (0)