mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Move Sympy printers to torch/utils/_sympy/printers.py (#140597)
Pull Request resolved: https://github.com/pytorch/pytorch/pull/140597 Approved by: https://github.com/ezyang, https://github.com/anijain2305
This commit is contained in:
committed by
PyTorch MergeBot
parent
29ca44839e
commit
44186a0a4e
@ -3570,7 +3570,7 @@ class GraphModule(torch.nn.Module):
|
||||
"cast_symbool_to_symint_guardless(L['pred']) == 1",
|
||||
]
|
||||
false_guard_code = [
|
||||
"Ne(cast_symbool_to_symint_guardless(L['pred']), 1)",
|
||||
"cast_symbool_to_symint_guardless(L['pred']) != 1",
|
||||
]
|
||||
test_symbool_guards(
|
||||
f,
|
||||
|
||||
Reference in New Issue
Block a user