Home
last modified time | relevance | path

Searched refs:WeakTensorKeyDictionary (Results 1 – 7 of 7) sorted by relevance

/external/pytorch/torch/distributed/optim/
Dapply_optimizer_in_backward.py12 param_to_optim_hook_handle_map = torch.utils.weak.WeakTensorKeyDictionary()
13 param_to_acc_grad_map = torch.utils.weak.WeakTensorKeyDictionary()
/external/pytorch/torch/testing/_internal/
Dlogging_tensor.py10 from torch.utils.weak import WeakTensorKeyDictionary
106 self.memo = WeakTensorKeyDictionary()
/external/pytorch/torch/nested/_internal/
Dnested_tensor.py8 from torch.utils.weak import WeakTensorKeyDictionary
12 _tensor_symint_registry = WeakTensorKeyDictionary()
/external/pytorch/torch/
D_guards.py32 from torch.utils.weak import WeakTensorKeyDictionary
664 self.tensor_to_context = WeakTensorKeyDictionary()
/external/pytorch/torch/utils/
Dweak.py303 WeakTensorKeyDictionary = WeakIdKeyDictionary variable
/external/pytorch/torch/fx/experimental/
Dproxy_tensor.py73 from torch.utils.weak import _WeakHashRef, WeakIdKeyDictionary, WeakTensorKeyDictionary
1015 self.tensor_tracker = WeakTensorKeyDictionary()
1398 self.tensor_tracker = WeakTensorKeyDictionary()
/external/pytorch/test/inductor/
Dtest_torchinductor.py93 from torch.utils.weak import WeakTensorKeyDictionary
10742 live_tensors = WeakTensorKeyDictionary()