File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 55[ ![ license] ( https://img.shields.io/badge/License-Apache_2.0-brightgreen.svg )] ( https://github.com/philipperemy/keras-attention-mechanism/blob/master/LICENSE ) [ ![ dep1] ( https://img.shields.io/badge/Tensorflow-2.0+-brightgreen.svg )] ( https://www.tensorflow.org/ )
66![ Simple Keras Attention CI] ( https://github.com/philipperemy/keras-attention-mechanism/workflows/Simple%20Keras%20Attention%20CI/badge.svg )
77
8- Many-to-one attention mechanism for Keras.
8+ Attention Layer for Keras. Supports the score functions of Luong and Bahdanau .
99
1010<p align =" center " >
1111 <img src =" examples/equations.png " width =" 600 " >
@@ -34,7 +34,7 @@ Attention(
3434
3535### Arguments
3636
37- - ` units ` : Integer. The number of units in the attention vector ($a_t$).
37+ - ` units ` : Integer. The number of (output) units in the attention vector ($a_t$).
3838- ` score ` : String. The score function $score(h_t, \bar{h_s})$. Possible values are ` luong ` or ` bahdanau ` .
3939
4040
You can’t perform that action at this time.
0 commit comments