从attention库中调用Attention
model.add(Attention(3)) 添加到lstm网络中出现
ValueError: Only input tensors may be passed as positional arguments. The following argument value should be passed as a keyword argument: None (of type <class 'NoneType'>)
没有该层时代码可以运行
相似问题