torch.index_select(self: Tensor, dim: Union[str, None], index: Tensor) :第一个Tensor是被操作的tensor,dim表示要操作的维度,index是在这个维度下提取的索引张 ...
確定! 回上一頁