评价此页

torch.sym_not#

torch.sym_not(a)[源代码]#

支持 SymInt 的逻辑非运算工具。

参数

a (SymBoolbool) – 要取反的对象