我的操作系统是Ubuntu 16.04
Python版本是3.5
Tensorflow版本是14.0
当我尝试TF Eager模块的简单代码时
import tensorflow as tf
import tensorflow.contrib.eager as tfe
tfe.enable_eager_execution()
x = [[2.]]
m = tf.matmul(x, x)
Run Code Online (Sandbox Code Playgroud)
我有
AttributeError:模块'tensorflow.contrib.eager'没有属性'enable_eager_execution'
那有什么不对?
归档时间: |
|
查看次数: |
11181 次 |
最近记录: |