Shortcuts

torch.fx.experimental.symbolic_shapes.is_concrete_bool

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

Utility to check if underlying object in SymBool is concrete value. Also returns true if integer is passed in. :param a: Object to test if it bool :type a: SymBool or bool

Return type

bool

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