diff --git a/onnx/onnx_cpp2py_export/defs.pyi b/onnx/onnx_cpp2py_export/defs.pyi index f2c69b8bcbe..55ef9c88e3f 100644 --- a/onnx/onnx_cpp2py_export/defs.pyi +++ b/onnx/onnx_cpp2py_export/defs.pyi @@ -20,6 +20,7 @@ class OpSchema: outputs: Sequence[OpSchema.FormalParameter] = (), type_constraints: Sequence[tuple[str, Sequence[str], str]] = (), attributes: Sequence[OpSchema.Attribute] = (), + node_determinism: OpSchema.NodeDeterminism = OpSchema.NodeDeterminism.Unknown, # noqa: F821 ) -> None: ... @property def file(self) -> str: ... @@ -57,6 +58,10 @@ class OpSchema: def has_type_and_shape_inference_function(self) -> bool: ... @property def has_data_propagation_function(self) -> bool: ... + @property + def node_determinism(self) -> NodeDeterminism: ... + @property + def non_deterministic(self) -> bool: ... @staticmethod def is_infinite(v: int) -> bool: ... def consumed(self, schema: OpSchema, i: int) -> tuple[UseType, int]: ...