Home
last modified time | relevance | path

Searched defs:example_inputs (Results 1 – 25 of 91) sorted by relevance

1234

/external/pytorch/benchmarks/dynamo/
Dcommon.py466 example_inputs, argument
510 def _normalize_bench_inputs(example_inputs) -> Tuple[Tuple[Any], Mapping[str, Any]]: argument
561 def coverage_experiment(args, model_iter_fn, model, example_inputs): argument
597 def speedup_experiment_fx2trt(args, model_iter_fn, model, example_inputs): argument
606 def recompile_profiler_experiment(args, model_iter_fn, model, example_inputs): argument
649 def speedup_experiment(args, model_iter_fn, model, example_inputs, **kwargs): argument
807 def speedup_experiment_ds(args, model_iter_fn, model, example_inputs): argument
904 example_inputs, argument
1056 def print_fx(gm, example_inputs): argument
1061 def print_aten_ops(gm, example_inputs): argument
[all …]
/external/pytorch/torch/_dynamo/backends/
Ddebugging.py91 def boxed_nop(fx_g, example_inputs): argument
165 def relu_compile_error_TESTING_ONLY(gm: torch.fx.GraphModule, example_inputs): argument
173 def relu_runtime_error_TESTING_ONLY(gm: torch.fx.GraphModule, example_inputs): argument
183 def relu_accuracy_error_TESTING_ONLY(gm: torch.fx.GraphModule, example_inputs): argument
194 def non_leaf_compile_error_TESTING_ONLY(gm: torch.fx.GraphModule, example_inputs): argument
320 def __call__(self, gm: torch.fx.GraphModule, example_inputs): argument
Dcommon.py23 def __call__(self, gm: torch.fx.GraphModule, example_inputs, **kwargs): argument
119 def device_from_inputs(example_inputs) -> torch.device: argument
125 def dtype_from_inputs(example_inputs) -> torch.dtype: argument
/external/executorch/backends/xnnpack/test/
Dtest_xnnpack_utils.py255 example_inputs, argument
277 example_inputs, argument
315 example_inputs, argument
469 def _get_dqlinear_graph_module(self, weight_qconfig, linear, example_inputs): argument
520 self, LinearModule, example_inputs argument
/external/pytorch/torch/_dynamo/repro/
Dafter_dynamo.py50 def _accuracy_fails(gm, example_inputs, compiler_fn): argument
72 def __call__(self, gm, example_inputs, **kwargs): argument
275 def dynamo_minifier_backend(gm, example_inputs, compiler_name): argument
315 def dynamo_accuracy_minifier_backend(gm, example_inputs, compiler_name): argument
345 def backend_fails(gm, example_inputs, compiler_fn, orig_failure): argument
/external/pytorch/test/inductor/
Dtest_torchinductor_codegen_dynamic_shapes.py40 example_inputs, argument
398 def common(self: TestCase, model, example_inputs, kwargs=None, **_rest): argument
421 def common(self: TestCase, model, example_inputs, kwargs=None, **_rest): argument
Dtest_aot_inductor_package.py26 def compile(model, example_inputs, dynamic_shapes, options, device): argument
42 example_inputs, argument
Dtest_aot_inductor_utils.py29 example_inputs, argument
118 example_inputs, argument
Dtest_binary_folding.py76 def my_inner_compile(gm, example_inputs, *args, **kwargs): argument
186 def my_inner_compile(gm, example_inputs, *args, **kwargs): argument
/external/pytorch/test/dynamo/
Dtest_verify_correctness.py68 def compiler_fn(graph, example_inputs): argument
108 def incorrect_compile_fn(gm, example_inputs): argument
131 def incorrect_compile_fn(gm, example_inputs): argument
Dtest_backends.py52 def compiler_fn(graph, example_inputs): argument
80 def compiler_fn(graph, example_inputs): argument
237 def my_custom_backend(gm, example_inputs): argument
255 def my_compiler(gm, example_inputs): argument
275 def my_compiler(gm, example_inputs): argument
/external/executorch/exir/tests/
Dtest_quantize_io_pass.py37 def _quantize(self, mod, example_inputs): argument
54 def _get_edge_prog_manager(self, mod, example_inputs): argument
/external/executorch/examples/apple/coreml/scripts/
Dexport.py89 def lower_module_to_coreml(module, compile_specs, example_inputs): argument
107 def export_lowered_module_to_executorch_program(lowered_module, example_inputs): argument
/external/pytorch/torch/_functorch/_aot_autograd/
Dautograd_cache.py166 example_inputs, argument
230 example_inputs, argument
255 def load(self, example_inputs, fx_config: Dict[str, BoxedBool]) -> CompiledFxGraph: argument
/external/executorch/examples/apple/mps/scripts/
Dmps_example.py40 def get_bundled_program(executorch_program, example_inputs, expected_output): argument
155 model, example_inputs, _, _ = EagerModelFactory.create_model(**model_config) variable
/external/executorch/examples/xnnpack/quantization/
Dutils.py16 def quantize(model, example_inputs): argument
Dexample.py45 def verify_xnnpack_quantizer_matching_fx_quant_model(model_name, model, example_inputs): argument
/external/executorch/examples/cadence/models/
Dresnet50.py28 example_inputs = (torch.randn(1, 3, 64, 64),) variable
Dmobilenet_v2.py28 example_inputs = (torch.randn(1, 3, 64, 64),) variable
Dvision_transformer.py26 example_inputs = (torch.randn(1, 3, 224, 224),) variable
Drnnt_joiner.py60 example_inputs = ( variable
/external/pytorch/benchmarks/dynamo/microbenchmarks/
Dmicrobench.py26 def compute_speedups(args, models, example_inputs): argument
41 def microbenchmark(args, model, example_inputs): argument
/external/executorch/backends/xnnpack/test/models/
Dmobilebert.py17 example_inputs = (torch.tensor([[101, 7592, 1010, 2026, 3899, 2003, 10140, 102]]),) variable in TestMobilebert
/external/executorch/examples/cadence/operators/
Dquantized_conv1d_op.py56 example_inputs = (torch.randn(shape),) variable
/external/executorch/examples/llm_manual/
Dexport_nanogpt.py22 example_inputs = ( variable

1234