Skip to main content

OnnxNodeInfo

One node of an OnnxModel: its name (what remove_node(name) takes), its op type, its domain ('' for the standard ai.onnx domain), and the tensor names on its input and output slots (an omitted optional input is an empty name).

domain (property)​

The operator domain; '' for ai.onnx.

inputs (property)​

The input tensor names, by slot.

name (property)​

The node's name.

op_type (property)​

The operator type (MatMul, Relu, ...).

outputs (property)​

The output tensor names, by slot.

__init__​

__init__(self, /, *args, **kwargs)

Initialize self. See help(type(self)) for accurate signature.