評價此頁

torch.fx.experimental.symbolic_shapes.guard_or_false#

torch.fx.experimental.symbolic_shapes.guard_or_false(a)[原始碼]#

嘗試保護 a,如果遇到與資料相關的錯誤,則返回 false。

返回型別

布林值