Home
last modified time | relevance | path

Searched defs:forward_hook (Results 1 – 8 of 8) sorted by relevance

/aosp_15_r20/external/pytorch/test/jit/
H A Dtest_hooks_modules.py114 def forward_hook(self, input: Tuple[()], output: None): function
130 def forward_hook(self, input: Tuple[()], output: None): function
149 def forward_hook(self, input: Tuple[List[str], str], output: Tuple[List[str], str]): function
210 def forward_hook(self, input: Tuple[str], output: str): function
231 def forward_hook(self, input: Tuple[str], output: str): function
253 def forward_hook(self, input: Tuple[str], output: str): function
308 def forward_hook(self, input: Tuple[List[str], str], output: Tuple[List[str], str]): function
371 def forward_hook(self, input: Tuple[str], output: str): function
391 def forward_hook(self, input: Tuple[str], output: str): function
411 def forward_hook(self, input: Tuple[str], output: str): function
[all …]
H A Dtest_hooks.py183 def forward_hook(self, input: Tuple[str], output: str): function
206 def forward_hook(self, input: Tuple[str], output: str): function
/aosp_15_r20/external/pytorch/torch/distributed/_composable/
H A Dcheckpoint_activation.py108 def forward_hook(module: nn.Module, inputs: Tuple[Any, ...], output: Any) -> Any: function
/aosp_15_r20/external/pytorch/test/nn/
H A Dtest_module_hooks.py56 def forward_hook( function
1067 def forward_hook(m, input, output): function
1636 def forward_hook(m, input, output): function
/aosp_15_r20/external/pytorch/test/distributed/_composable/
H A Dtest_contract.py35 def forward_hook( function
/aosp_15_r20/external/pytorch/test/higher_order_ops/
H A Dtest_with_effects.py375 def forward_hook( function
/aosp_15_r20/external/pytorch/test/dynamo/
H A Dtest_modules.py2175 def forward_hook( function
2222 def forward_hook( function
2291 def forward_hook( function
/aosp_15_r20/external/pytorch/test/export/
H A Dtest_export.py5075 def forward_hook(module: torch.nn.Module, inputs, output) -> torch.Tensor: function