Home
last modified time | relevance | path

Searched refs:shape_compute_module (Results 1 – 3 of 3) sorted by relevance

/aosp_15_r20/external/pytorch/torch/backends/_nnapi/
H A Dprepare.py29 shape_compute_module: torch.nn.Module,
38 self.shape_compute_module = shape_compute_module
51 …self.out_templates = self.shape_compute_module.prepare(self.ser_model, args) # type: ignore[opera…
107 shape_compute_module,
118 shape_compute_module,
186 shape_compute_module = torch.jit.script(ShapeComputeModule())
190 shape_compute_module.define("".join(real_shape_compute_lines))
193 shape_compute_module,
/aosp_15_r20/external/pytorch/torch/csrc/jit/backends/nnapi/
H A Dnnapi_backend_preprocess.cpp91 auto shape_compute_module = in preprocess() local
94 shape_compute_module._save_for_mobile(ss); in preprocess()
H A Dnnapi_backend_lib.cpp120 auto shape_compute_module = _load_for_mobile(ss); in init() local
122 shape_compute_module.run_method("prepare", ser_model, inputs) in init()