_
This commit is contained in:
1 parent
91f0f30a78
commit
80cae7d9f5
1 file changed
+1
-1
@@ -23,7 +23,7 @@ class DeepFakeArchi(nn.ArchiBase):
|
|||||||
|
|
||||||
if 'c' in opts:
|
if 'c' in opts:
|
||||||
def act(x, alpha=0.1):
|
def act(x, alpha=0.1):
|
||||||
return tf.nn.relu(x)
|
return x*tf.cos(x)
|
||||||
else:
|
else:
|
||||||
def act(x, alpha=0.1):
|
def act(x, alpha=0.1):
|
||||||
return tf.nn.leaky_relu(x, alpha)
|
return tf.nn.leaky_relu(x, alpha)
|
||||||
|
|||||||
Reference in new issue
Block a user