python中錯誤TypeError: __init__() got an unexpected keyword argument 'shape'

學習TensorFlow遇到的問題:python 1 如何在不一樣計算圖上定義和使用變量學習 書上代碼:.net import tensorflow as tf g1 = tf.Graph() with g1.as_default(): #在計算g1中定義變量「v」,並設置初始值爲0。 v = tf.get_variable( "v", initializer=t
相關文章
相關標籤/搜索