Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
_emit_buffer_mutation_writebacks
Method · 0.95
handler
Function · 0.80
_isnan_handler
Function · 0.80
_linear_handler
Function · 0.80
_addmm_handler
Function · 0.80
_mm_handler
Function · 0.80
_view_handler
Function · 0.80
_clone_handler
Function · 0.80
_copy_handler
Function · 0.80
_dim_order_clone_handler
Function · 0.80
_dim_order_copy_handler
Function · 0.80
_to_copy_handler
Function · 0.80
Calls
2
Instruction
Class · 0.50
append
Method · 0.45
Tested by
1
_vadd_handler
Function · 0.64