Shortcuts

torch.fx.experimental.symbolic_shapes.definitely_false

torch.fx.experimental.symbolic_shapes.definitely_false(a)[source]

Returns True only if we can tell that a is False, possibly introducing a guard in the process. If a depends on some unbacked SymInt, we may return False even though there may exist a possible value of the SymInt that would cause the expression a to be False. See definitely_true for more usage guidance.

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