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

Method build

backends/mlx/builder/program_builder.py:626–634  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

624 )
625
626 def build(self) -> MLXGraph:
627 if self._mlx_graph is not None:
628 return self._mlx_graph
629
630 self._process_nodes()
631 self._emit_buffer_mutation_writebacks()
632 self._verify_build()
633 self._mlx_graph = self._build_mlx_graph()
634 return self._mlx_graph
635
636 def _verify_build(self):
637 noop_handler = REGISTRY.get_noop_handler()

Callers 1

preprocessMethod · 0.95

Calls 4

_process_nodesMethod · 0.95
_verify_buildMethod · 0.95
_build_mlx_graphMethod · 0.95

Tested by

no test coverage detected