Rate this Page

torch.fx.experimental.symbolic_shapes.is_concrete_int#

torch.fx.experimental.symbolic_shapes.is_concrete_int(a)[source]#

Utility to check if underlying object in SymInt is concrete value. Also returns true if integer is passed in.

Parameters

a (SymInt or int) – Object to test if it int

Return type

bool