Shortcuts

torch.fx.experimental.symbolic_shapes.sym_eq

torch.fx.experimental.symbolic_shapes.sym_eq(x, y)[source][source]

Like ==, but when run on list/tuple, it will recursively test equality and use sym_and to join the results together, without guarding.

Return type

Union[bool, SymBool]

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