Home
last modified time | relevance | path

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

1234

/aosp_15_r20/external/pytorch/benchmarks/dynamo/
H A 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 …]
/aosp_15_r20/external/pytorch/torch/_dynamo/backends/
H A 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
H A 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
/aosp_15_r20/external/executorch/backends/xnnpack/test/
H A 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
/aosp_15_r20/external/pytorch/torch/_dynamo/repro/
H A 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
/aosp_15_r20/external/pytorch/test/dynamo/
H A 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
H A 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
/aosp_15_r20/external/pytorch/test/inductor/
H A 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
H A Dtest_aot_inductor_package.py26 def compile(model, example_inputs, dynamic_shapes, options, device): argument
42 example_inputs, argument
H A Dtest_aot_inductor_utils.py29 example_inputs, argument
118 example_inputs, argument
H A 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
/aosp_15_r20/external/pytorch/test/distributed/
H A Dtest_inductor_collectives.py75 def compile(func, example_inputs): argument
110 def compile(func, example_inputs): argument
188 def compile(func, example_inputs): argument
227 def compile(func, example_inputs): argument
353 def compile(func, example_inputs): argument
380 def compile(func, example_inputs): argument
/aosp_15_r20/external/pytorch/torch/_functorch/_aot_autograd/
H A Dautograd_cache.py166 example_inputs, argument
230 example_inputs, argument
255 def load(self, example_inputs, fx_config: Dict[str, BoxedBool]) -> CompiledFxGraph: argument
/aosp_15_r20/external/executorch/exir/tests/
H A Dtest_quantize_io_pass.py37 def _quantize(self, mod, example_inputs): argument
54 def _get_edge_prog_manager(self, mod, example_inputs): argument
/aosp_15_r20/external/executorch/examples/apple/coreml/scripts/
H A 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
/aosp_15_r20/external/executorch/examples/apple/mps/scripts/
H A Dmps_example.py40 def get_bundled_program(executorch_program, example_inputs, expected_output): argument
155 model, example_inputs, _, _ = EagerModelFactory.create_model(**model_config) variable
/aosp_15_r20/external/pytorch/benchmarks/dynamo/microbenchmarks/
H A Dmicrobench.py26 def compute_speedups(args, models, example_inputs): argument
41 def microbenchmark(args, model, example_inputs): argument
/aosp_15_r20/external/pytorch/torch/_dynamo/
H A Ddebug_utils.py296 def clone_inputs_retaining_gradness(example_inputs): argument
339 example_inputs, argument
439 example_inputs, argument
H A Dutils.py864 def clone_inputs(example_inputs): argument
926 def torchscript(model, example_inputs, verbose=False): argument
1016 def timed(model, example_inputs, times=1): argument
1033 def check_is_cuda(gm, example_inputs): argument
1604 def __call__(self, gm: torch.fx.GraphModule, example_inputs): argument
H A Dtesting.py53 def collect_results(model, prediction, loss, example_inputs): argument
273 def dummy_fx_compile(gm: fx.GraphModule, example_inputs): argument
/aosp_15_r20/external/executorch/backends/apple/mps/test/
H A Dtest_mps_utils.py295 example_inputs, argument
317 example_inputs, argument
/aosp_15_r20/external/pytorch/torch/jit/
H A D_trace.py611 def make_tuple(example_inputs): argument
672 example_inputs=None, argument
829 example_inputs=None, argument
/aosp_15_r20/external/pytorch/torch/csrc/jit/backends/xnnpack/
H A Dxnnpack_graph_builder.cpp26 std::vector<c10::IValue>& example_inputs) { in optimizeAndTraceGraph()
39 std::vector<c10::IValue> example_inputs) { in buildXNNGraph()
/aosp_15_r20/external/pytorch/test/quantization/pt2e/
H A Dtest_metadata_porting.py62 self, model, example_inputs, from_node_to_tags argument
94 example_inputs, argument
/aosp_15_r20/external/pytorch/torch/_inductor/fx_passes/
H A Dpre_grad.py111 def pre_grad_passes(gm: torch.fx.GraphModule, example_inputs=None): argument
291 def fuse_fx(gm: torch.fx.GraphModule, example_inputs) -> torch.fx.GraphModule: argument

1234