torch.fx.experimental.symbolic_shapes.has_static_value
-
torch.fx.experimental.symbolic_shapes.has_static_value(a)[source] -
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.