Output#
- class hugr.ops.Output(_types: list[Type] | None = None, num_out: int = 0)[source]#
Bases:
DataflowOp
,_PartialOp
Output operation in dataflow graph. Inputs of this operation are the outputs of the graph.
Methods
Name of the operation.
The external signature of this operation.
Get the kind of the given port.
Get the type of the given dataflow port from the signature of the operation.
Attributes
num_out
types
- outer_signature() FunctionType [source]#
The external signature of this operation. Defines the valid external connectivity of the node the operation belongs to.