Rate this Page

torch.fx.experimental.symbolic_shapes.has_guarding_hint#

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

Check if a symbolic value has a hint available for guarding.

Returns True if the value is concrete or if the symbolic node has a hint, False otherwise.

Return type:

bool