Home
last modified time | relevance | path

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

/aosp_15_r20/external/pytorch/test/dynamo/
H A Dtest_modes.py12 from torch.overrides import _get_current_function_mode_stack, BaseTorchFunctionMode
181 stack = _get_current_function_mode_stack()
194 stack = _get_current_function_mode_stack()
211 stack = _get_current_function_mode_stack()
226 stack = _get_current_function_mode_stack()
237 stack = _get_current_function_mode_stack()
/aosp_15_r20/external/pytorch/test/
H A Dtest_overrides.py24 _get_current_function_mode_stack,
1328 self.assertEqual(_get_current_function_mode_stack(), [])
1331 self.assertEqual(_get_current_function_mode_stack(), [mode1])
1335 self.assertEqual(_get_current_function_mode_stack(), [mode1, mode2])
/aosp_15_r20/external/pytorch/torch/
H A Doverrides.py2056 def _get_current_function_mode_stack(): function