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
相关文章
相关标签/搜索