Shortcuts

torch.Tensor.index_put

Tensor.index_put(indices, values, accumulate=False) 张量

非原地版本的 index_put_()

优云智算