MCPcopy Create free account
hub / github.com/pytorch/executorch / emit

Method emit

backends/mlx/builder/program_builder.py:167–168  ·  view source on GitHub ↗
(self, op: OpNodeUnion)

Source from the content-addressed store, hash-verified

165 return name
166
167 def emit(self, op: OpNodeUnion) -> None:
168 self._chains[self._current_chain].append(Instruction(op=op))
169
170 def emit_init(self, op: OpNodeUnion) -> None:
171 if self.init_chain_idx == -1:

Callers 15

handlerFunction · 0.80
_isnan_handlerFunction · 0.80
_linear_handlerFunction · 0.80
_addmm_handlerFunction · 0.80
_mm_handlerFunction · 0.80
_view_handlerFunction · 0.80
_clone_handlerFunction · 0.80
_copy_handlerFunction · 0.80
_dim_order_clone_handlerFunction · 0.80
_dim_order_copy_handlerFunction · 0.80
_to_copy_handlerFunction · 0.80

Calls 2

InstructionClass · 0.50
appendMethod · 0.45

Tested by 1

_vadd_handlerFunction · 0.64