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
8b97e4dd8c
commit
7a92b51196
@ -852,7 +852,7 @@ def check_input_alias_and_mutation_return_outputs(
|
||||
|
||||
# Clone the fake args to avoid mutating the original fake args
|
||||
with ExitStack() as ctx_stack:
|
||||
# We need to re-use prev_fake_mode's shape env to resolve
|
||||
# We need to reuse prev_fake_mode's shape env to resolve
|
||||
# the runtime assertions for unbacked symbols.
|
||||
new_fake_mode = torch._subclasses.FakeTensorMode(
|
||||
shape_env=_get_shape_env(fake_args),
|
||||
|
||||
Reference in New Issue
Block a user