評價此頁

torch.fx.experimental.symbolic_shapes.guard_or_true#

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

嘗試保護 a,如果遇到資料依賴錯誤,則返回 true。

返回型別

布林值