We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
get_config()
PositionalEncoding
1 parent 37ea12a commit 69aae58Copy full SHA for 69aae58
tensorflow_asr/models/layers/positional_encoding.py
@@ -68,7 +68,8 @@ def call(
68
69
def get_config(self):
70
conf = super().get_config()
71
- return conf.update({"alpha": self.alpha, "beta": self.beta})
+ conf.update({"alpha": self.alpha, "beta": self.beta})
72
+ return conf
73
74
75
class PositionalEncodingConcat(PositionalEncoding):
0 commit comments