Shortcuts

torch.fx.experimental.symbolic_shapes.check_consistent

torch.fx.experimental.symbolic_shapes.check_consistent(new, old)[source]

Test that two “meta” values (typically either Tensor or SymInt) have the same values, e.g., after retracing. If we don’t understand the quantities in question, we’ll just skip the consistency check.

Docs

Access comprehensive developer documentation for PyTorch

View Docs

Tutorials

Get in-depth tutorials for beginners and advanced developers

View Tutorials

Resources

Find development resources and get your questions answered

View Resources