tensorflow之 AttributeError: module 'tensorflow' has no attribute 'sub'

学习官方给出的文档,发现报错python AttributeError: module 'tensorflow' has no attribute 'sub' 代码是这样写的:bash #!/usr/bin/python3 import tensorflow as tf sess = tf.InteractiveSession() x = tf.Variable([1.0,
相关文章
相关标签/搜索