![](/img/trans.png)
[英]how to select index randomly but not the max(tf.arg_max) in tensorflow
[英]How to get top n arg max/min in tensorflow?
是否有可能在張量流中獲得最高的N arg max / min? 對於第一名,我們有:
tf.argmax(input)
這個函數怎么樣: tf.nn.top_k ?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.