torch.fx.experimental.symbolic_shapes.is_concrete_int¶ torch.fx.experimental.symbolic_shapes.is_concrete_int(a)[source][source]¶ 用於檢查 SymInt 中底層物件是否為具體值的實用工具。如果傳入整數,也會返回 true。 參數 a (SymInt 或 int) – 要測試是否為整數的物件 回傳類型 bool