tensorflow - 用于RNN的tensorflow tf.keras.layers.Attention
问题描述
https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/keras/layers/dense_attention.py说:“这个类适用于 Dense 或 CNN 网络,不适用于 RNN 网络。” 有谁知道为什么?
https://www.tensorflow.org/api_docs/python/tf/keras/layers/Attention没有提到上述内容。
谢谢。
解决方案
推荐阅读
- python - IndentationError: Expected an indented block - Python机器学习猫/狗
- google-cloud-platform - Instance Group 不会使用 GPU 创建实例:没有足够的资源
- sql - 当另一个表被更新时触发更新同一个表中的值
- python - 使用 Elastisearch 中的脚本进行更新
- angular - Angular Material 7 Datepicker:禁用多年视图
- excel - 用于重复条件合并和求和的 Excel VBA
- react-native - React Native / 使用字符串作为 FlatList 中的数据?
- javascript - How to wait untill for (append) finished and then show result javascirpt / jquery
- java - 如何将 JTextField 中的输入转换为日期?
- python - 如何在 django 中显示来自 2 个模型的数据,并在模板中使用一对多的关系