Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/tensorflow/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python __init_uuu()得到一个意外的关键字参数“state_istuple”_Python_Tensorflow_Lstm_Rnn - Fatal编程技术网

Python __init_uuu()得到一个意外的关键字参数“state_istuple”

Python __init_uuu()得到一个意外的关键字参数“state_istuple”,python,tensorflow,lstm,rnn,Python,Tensorflow,Lstm,Rnn,我现在正在python中使用tensorflow。 我遇到了一个错误,说init得到了一个意外的关键字参数“state\u istuple” 你有什么想法吗 对于BasicLSTMCell构造函数,您应该使用关键字参数state\u is\u tuple,而不是state\u istuple。请将代码作为代码发布,而不是图像。这是一个输入错误,请参考API-它将指示接受哪些关键字;然后要努力遵守规则。错误消息说API没有被正确使用-所以根据文档找出什么期望是不正确的。

我现在正在python中使用tensorflow。 我遇到了一个错误,说init得到了一个意外的关键字参数“state\u istuple”

你有什么想法吗


对于BasicLSTMCell构造函数,您应该使用关键字参数state\u is\u tuple,而不是state\u istuple。

请将代码作为代码发布,而不是图像。这是一个输入错误,请参考API-它将指示接受哪些关键字;然后要努力遵守规则。错误消息说API没有被正确使用-所以根据文档找出什么期望是不正确的。