Fix bug by erasing a line

This commit is contained in:
Felix Yu
2017-07-10 11:58:35 +08:00
parent c8590739f3
commit 8c42d8092b
-1
View File
@@ -52,7 +52,6 @@ class Scale(Layer):
self.beta = K.variable(self.beta_init(shape), name='{}_beta'.format(self.name))
#self.gamma = self.gamma_init(shape, name='{}_gamma'.format(self.name))
#self.beta = self.beta_init(shape, name='{}_beta'.format(self.name))
self.beta = self.beta_init(shape)
self.trainable_weights = [self.gamma, self.beta]
if self.initial_weights is not None: