dim (int) - 索引index所指向的維度; index (LongTensor) - 包含索引數的張量; tensor (Tensor) - 含有相加元素的張量. 例子:. x = torch.Tensor([[1 ...
確定! 回上一頁