mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Add OpInfo for torch.equal and fix support for non-standard bools
Pull Request resolved: https://github.com/pytorch/pytorch/pull/79389 Approved by: https://github.com/mruberry
This commit is contained in:
committed by
PyTorch MergeBot
parent
aa911efdeb
commit
9bf52f4be8
@ -107,7 +107,7 @@ class TestJit(JitCommonTestCase):
|
||||
|
||||
# Check traced forward, grad, and grad grad
|
||||
# TODO: fix tracing here
|
||||
supports_tracing = not has_fake_function
|
||||
supports_tracing = op.supports_tracing and not has_fake_function
|
||||
if op.assert_jit_shape_analysis:
|
||||
self.assertTrue(supports_tracing)
|
||||
|
||||
|
Reference in New Issue
Block a user