tensorflow - Tensorflow 1.2.1:AttributeError:模块'tensorflow'没有属性'random'
问题描述
我已经安装了 tensorflow 1.2.1 并且每当我尝试运行
c=tf.random.normal(shape=(3,4),dtype=tf.float32)
我得到错误 AttributeError: module 'tensorflow' has no attribute 'random'
我已经安装了 tensorflow 1.2.1 并且每当我尝试运行
c=tf.random.normal(shape=(3,4),dtype=tf.float32)
我得到错误 AttributeError: module 'tensorflow' has no attribute 'random'
标签: tensorflowpython-3.6