torch.fx.experimental.symbolic_shapes.hint_int¶
- torch.fx.experimental.symbolic_shapes.hint_int(a, fallback=None)[source]¶
Retrieve the hint for an int (based on the underlying real values as observed at runtime). If no hint is available (e.g., because data dependent shapes), if fallback is not None, use that instead (otherwise raise an error).
- Return type