3
看來tf.argmax()
和tf.arg_max()
對輸出矩陣中最大的元素的印記是做同樣的事情。tf.argmax()vs tf.arg_max()在TensorFlow中
https://www.tensorflow.org/api_docs/python/tf/argmax https://www.tensorflow.org/api_docs/python/tf/arg_max
爲什麼TensorFlow有這兩個API?
可能被重命名爲匹配numpy,但舊版本必須保持向後兼容 –