高阶操作

可以快速上手的开发文档

#高阶操作

详解PyTorch中Tensor的高阶操作

条件选取:torch.where(condition,x,y)→Tensor返回从x或y中选择元素的张量,取决于condition操作定..