转换后是torch.uint8 数据类型 torch. ... b # logical and a|b # logical or a^b # logical xor ~a # 并不是,logical not,而是按位与,你需要1-a ...
確定! 回上一頁