Instruction¶
- class madspace.Instruction¶
Bases:
pybind11_objectBase class for a compute-graph operation.
Each instruction has a name, an integer opcode and a differentiable flag, and derives its output types from its input types through
signature. The concrete subclasses are an internal implementation detail. User code adds instructions through the generated FunctionBuilder methods.- property name¶
Instruction name, matching
instruction_set.yaml.
- property opcode¶
Integer opcode used by the runtime dispatch.