PrePropagateKey

class samplomatic.pre_samplex.PrePropagateKey(mode: InstructionMode, operation_name: str, direction: Direction)[source]

Bases: object

A key used to identify the “type” of PrePropagate nodes for clustering purposes.

The key includes only properties of the node for which a difference between two nodes would make the nodes unmergeable. This, however, doesn’t automatically mean that a matching key makes nodes mergable. Other considerations in determining the mergeability include the subsystems and predecessor nodes.

Attributes Summary

direction

The direction of the PrePropagate node.

mode

The mode of the PrePropagate node.

operation_name

The name of the operation of the PrePropagate node.

Attributes Documentation

direction: Direction = <dataclasses._MISSING_TYPE object>

The direction of the PrePropagate node.

mode: InstructionMode = <dataclasses._MISSING_TYPE object>

The mode of the PrePropagate node.

operation_name: str = <dataclasses._MISSING_TYPE object>

The name of the operation of the PrePropagate node.