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

Method grow

codegen/model.py:183–187  ·  view source on GitHub ↗
(
        self, backend_indices: dict[DispatchKey, dict[OperatorName, BackendMetadata]]
    )

Source from the content-addressed store, hash-verified

181 return ETKernelIndex(kernel_index)
182
183 def grow(
184 self, backend_indices: dict[DispatchKey, dict[OperatorName, BackendMetadata]]
185 ) -> ETKernelIndex:
186 ETKernelIndex.grow_from_backend_indices(self.index, backend_indices)
187 return self
188
189 def _to_backend_index(self) -> BackendIndex:
190 """

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected