torch has no equivalent implementation of np.random.choice() , see the discussion here. The alternative is indexing with a shuffled index or ...
確定! 回上一頁