OpId
PythonOpId = strOpIdattributeAirOperatorclassIntermediate Representation of an operator (node) in the graph.OpId = strIntermediate Representation of an operator (node) in the graph.
AirOperator()Intermediate Representation of an operator (node) in the graph.
id: OpId = Field(..., description="Unique node identifier (e.g. 'conv1')")Unique node identifier (e.g. ‘conv1’).
op_type: AirOpType = Field(..., description='The operator unique type.')The operator unique type.
input_ids: list[TensorId] = Field(default_factory=list, description='Input tensor IDs.')Input tensor IDs.
output_ids: list[TensorId] = Field(default_factory=list, description='Output tensor IDs.')Output tensor IDs.
named_tensors: dict[str, TensorId] = Field(default_factory=dict, description='Local tensor names to IDs mapping.')Local tensor names to IDs mapping.
options: AirOperatorOptions = Field(default_factory=AirOperatorOptions, description='Typed options/config for this op.')Typed options/config for this op.
All tensor IDs (inputs + outputs + named tensors) associated with this operator.
tensor_ids: list[TensorId]All tensor IDs (inputs + outputs + named tensors) associated with this operator.
How many input tensors this operator consumes.
fan_in: intHow many input tensors this operator consumes.
How many output tensors this operator produces.
fan_out: intHow many output tensors this operator produces.
Debug print the template values for the operator.
print_info(verbose: int = 0)Debug print the template values for the operator.