__init __()获得了意外的关键字参数'state_istuple'

时间:2018-09-09 05:31:45

标签: python tensorflow lstm rnn

我现在正在使用python中的tensorflow。 我遇到了一个错误,该错误说 init ()收到了意外的关键字参数'state_istuple'

您对此有什么想法吗?

enter code here

1 个答案:

答案 0 :(得分:1)

对于Set构造函数,您应该使用关键字参数state_is_tuple而不是state_istuple作为documented