在python列表中,我们可以使用 list.index(somevalue) . pytorch 如何做到这一点? 例如: a=[1,2,3] print(a.index(2)) 然后, 1 将被输出。 pytorch 张量如何在不将其 ...
確定! 回上一頁