How to get indices of top-K values from a numpy array

后端 未结 0 1642
半阙折子戏
半阙折子戏 2020-11-27 20:38

Let suppose I have probabilities from a Pytorch or Keras predictions and result is with the softmax function

from scipy.special import softmax
probs = softmax         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题