Tensor 的bool. >>> vx.data > 0.5 0 1 0 1 1 0 1 1 0 1 0 1 [torch.cuda.ByteTensor of size 3x4 (GPU 0)] # 可以使用np.where !
確定! 回上一頁