Class: Kumi::IR::Vec::Ops::LoadInput
- Inherits:
-
Node
- Object
- Base::Instruction
- Node
- Kumi::IR::Vec::Ops::LoadInput
- Defined in:
- lib/kumi/ir/vec/ops/core_ops.rb
Instance Attribute Summary
Attributes inherited from Base::Instruction
#attributes, #axes, #dtype, #effects, #inputs, #metadata, #opcode, #result
Instance Method Summary collapse
-
#initialize(key:, chain: [], **kwargs) ⇒ LoadInput
constructor
A new instance of LoadInput.
Methods inherited from Node
Methods inherited from Base::Instruction
#control_effect?, #defs, #effectful?, #io_effect?, #memory_effect?, #normalized_attributes, #printer_attributes, #printer_axes, #printer_dtype, #produces?, #stamp, #state_effect?, #to_h, #to_print_string, #uses, #validate!, #value_signature, #with_metadata
Constructor Details
#initialize(key:, chain: [], **kwargs) ⇒ LoadInput
Returns a new instance of LoadInput.
18 19 20 21 22 23 24 |
# File 'lib/kumi/ir/vec/ops/core_ops.rb', line 18 def initialize(key:, chain: [], **kwargs) attrs = { key: key.to_sym, chain: Array(chain).map(&:to_s) } super(inputs: [], attributes: attrs, **kwargs) end |