Home
last modified time | relevance | path

Searched refs:_set_replace_hook (Results 1 – 9 of 9) sorted by relevance

/aosp_15_r20/external/pytorch/torch/export/
H A D_remove_auto_functionalized_pass.py34 with ep.graph_module._set_replace_hook(ep.graph_signature.get_replace_hook()):
H A D_remove_effect_tokens_pass.py156 with ep.graph_module._set_replace_hook(ep.graph_signature.get_replace_hook()):
H A Dexported_program.py562 with gm._set_replace_hook(new_graph_signature.get_replace_hook()):
584 with gm._set_replace_hook(graph_signature.get_replace_hook()):
/aosp_15_r20/external/pytorch/torch/export/experimental/
H A D__init__.py35 with gm._set_replace_hook(sig.get_replace_hook()):
/aosp_15_r20/external/pytorch/torch/_export/passes/
H A Dreplace_with_hop_pass_util.py136 …replace_ctx = new_gm._set_replace_hook(new_signature.get_replace_hook()) # type: ignore[assignmen…
/aosp_15_r20/external/pytorch/test/export/
H A Dtest_pass_infra.py184 with gm._set_replace_hook(sig.get_replace_hook()):
/aosp_15_r20/external/executorch/exir/backend/
H A Dbackend_api.py215 tagged_graph_module._set_replace_hook(
/aosp_15_r20/external/pytorch/torch/distributed/tensor/experimental/
H A D_tp_transform.py53 with gm._set_replace_hook(sig.get_replace_hook()):
/aosp_15_r20/external/pytorch/torch/fx/
H A Dgraph_module.py896 def _set_replace_hook(self, f): member in GraphModule