Home
last modified time | relevance | path

Searched refs:get_replace_hook (Results 1 – 10 of 10) 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()):
H A Dgraph_signature.py438 def get_replace_hook(self): member in ExportGraphSignature
/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.py216 owning_program.graph_signature.get_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/docs/source/
H A Dexport.rst711 .. automethod:: get_replace_hook