Is there a layer that takes a tf vector of probabilities and returns a vector with the highest probability is set to 1 and 0 otherwise

前端 未结 0 1925
忘掉有多难
忘掉有多难 2020-12-19 23:47

I have

layers.Dense(3, activation=\'softmax\')

and this returns a probability for the three classes I

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