Rate this Page
โ˜… โ˜… โ˜… โ˜… โ˜…

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.

Parameters

a (SymBool or bool) โ€“ Object to test if it bool

Return type

bool