【发布时间】:2017-08-23 16:00:33
【问题描述】:
所以我有这个非常简单的玩具代码:
import tensorflow as tf
x = tf.placeholder(tf.int32, [None, 10])
def new_network(x):
return tf.nn.rnn_cell.GRUCell(x, num_units=100)
pred = new_network(x)
无论我做什么,我都会收到以下错误
TypeError: __init__() got multiple values for keyword argument 'num_units'
我使用的是 TensorFlow 1.3.0 版本。
这和this pulled issue有关吗?
【问题讨论】:
标签: python tensorflow