torch.fx.experimental.symbolic_shapes.has_static_value
- torch.fx.experimental.symbolic_shapes.has_static_value(a)
User-code friendly utility to check if a value is static or dynamic. Returns true if given a constant, or a symbolic expression with a fixed value.
- Parameters:
a (Union[SymBool, ) – Object to test