報(bào)錯(cuò)如下:AttributeError: module 'tensorflow' has no attribute 'assgin'源代碼:import?tensorflow?as?tf
c=tf.Variable(1.0)
print(c)
print(c.trainable)
c=tf.assgin(c,2.0)
print(c)
tensorflow' has no attribute 'assgin'
qq_莫非
2019-11-08 19:46:15