mirror of
https://github.com/wassname/keras-contrib.git
synced 2026-06-27 16:10:11 +08:00
pep8 fix
This commit is contained in:
@@ -153,7 +153,7 @@ class CosineDense(Layer):
|
||||
|
||||
xWnorm = (xnorm * Wnorm)
|
||||
|
||||
output = K.dot(x, self.W)/xWnorm
|
||||
output = K.dot(x, self.W) / xWnorm
|
||||
if self.bias:
|
||||
output += (self.b / xWnorm)
|
||||
return self.activation(output)
|
||||
|
||||
Reference in New Issue
Block a user