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

Method create_test_inputs

backends/mlx/test/test_utils.py:863–865  ·  view source on GitHub ↗

Create inputs for testing. Override for dynamic shape tests.

(self)

Source from the content-addressed store, hash-verified

861 raise NotImplementedError
862
863 def create_test_inputs(self) -> Tuple[torch.Tensor, ...]:
864 """Create inputs for testing. Override for dynamic shape tests."""
865 return self.create_inputs()
866
867 def get_dynamic_shapes(self) -> Optional[Dict]:
868 """Return dynamic shapes specification for torch.export, or None for static shapes."""

Callers 1

generate_test_filesMethod · 0.95

Calls 1

create_inputsMethod · 0.95

Tested by

no test coverage detected