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.