Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions onnx/onnx_cpp2py_export/defs.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
Expand Down Expand Up @@ -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]: ...
Expand Down