torch.topk(input, k, dim=None, largest=True, sorted=True, out=None) -> (Tensor, LongTensor). 沿给定dim 维度返回输入张量 input 中 k 个最大值.
確定! 回上一頁