分子模拟简介
使用者指南
API参考
RELEASE NOTES
根据指标从张量的最后一根轴收集值。
tensor (Tensor) - 输入张量,shape为 (B,X) 。其中 B 为batch size, X 为输入张量第二维的任意大小。
index (Tensor) - 索引,shape为 (B,...,) 。
Tensor。取出的值,shape为 (B,...,) 。
Ascend GPU
Ascend
GPU