(tensorflow) macbook:tensorflow zhutx$ python tensorboard.py Traceback (most recent call last): File "tensorboard.py", line 8, in <module> W = tf.Variable(2.0, dtype=tf.float32, name="Weight") # 权重 TypeError: __init__() got an unexpected keyword argument 'dtype' (tensorflow) macbook:tensorflow zhutx$ python -V Python 2.7.10 (tensorflow) macbook:tensorflow zhutx$ python -c "import numpy; print numpy.version.version" 1.14.1
这章节运行出错,跟版本有关吗?
16.3k 10
1.4k 9
1.4k 8
1.5k 7
1.1k 7