mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[BE][2/16] fix typos in torch/ (torch/_*/) (#156312)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/156312 Approved by: https://github.com/albanD
This commit is contained in:
committed by
PyTorch MergeBot
parent
e90148c91d
commit
7f14b42adf
@ -2366,7 +2366,7 @@ class FakeTensorMode(TorchDispatchMode):
|
||||
# (aot autograd, torchdynamo) where each operation is run consecutively.
|
||||
# Because each operation is run in order, we can trace out and support
|
||||
# sequences like: x = torch.tensor(0.); y = x.add_(1)
|
||||
# Whenver a constant is written to but with inputs that cannot be evaluated
|
||||
# Whenever a constant is written to but with inputs that cannot be evaluated
|
||||
# statically, such as random_(), we invalidate all constants that alias the input
|
||||
# We will rely on functionalization for use of fake tensors constants as persistent
|
||||
# objects on an FX Graph.
|
||||
|
Reference in New Issue
Block a user