报错如下:
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)
慕斯4360584
相关分类