解决问题
AttributeError: 'BasicLSTMCell' object has no attribute '_kernel'
解决思路
Python 用下划线作为变量前缀和后缀指定特殊变量/方法。
主要存在四种情形
1. object # public
2. __object__ # special, python system use, user should not define like it
3. __object # private (name mangling during runtime)
4. _object # obey coding convention, consider it as private
解决方法
该函数的新旧版本更替出现的问题,call函数修改为以前版本即可!
哈哈,大功告成!