使用张量处理数据张量(Tensors)类似于numpy中的ndarrays,Tensors可以在GPU中加速运算。 ... x_num = x.size(0) * x.size(1) print(x_num).
確定! 回上一頁