softmax 帶 tempreture 參數

# 在tensorflow中這樣用,其他的庫均類似~
softInput = tf.matmul(output, Wl_h_l) + Bl_h_l
softmax = tf.nn.softmax(softInput / tempreture)

發佈了41 篇原創文章 · 獲贊 192 · 訪問量 73萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章