Skip to content

Commit

Permalink
Update attention_keras.py
Browse files Browse the repository at this point in the history
  • Loading branch information
bojone authored Jul 27, 2019
1 parent 661e4e4 commit b7415c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion attention_keras.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ class SinCosPositionEmbedding(Layer):
"""
def __init__(self, v_dim,
merge_mode='add', **kwargs):
super(CosSinPositionEmbedding, self).__init__(**kwargs)
super(SinCosPositionEmbedding, self).__init__(**kwargs)
self.v_dim = v_dim
self.merge_mode = merge_mode
def call(self, inputs):
Expand Down

0 comments on commit b7415c9

Please sign in to comment.