This commit is contained in:
iperov 2021-10-11 15:03:34 +04:00
parent 91f0f30a78
commit 80cae7d9f5

View File

@ -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)