Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OUCMachineLearning/OUCML
/ lrelu
Function
lrelu
GAN/Self_attention_GAN_tensorflow/ops.py:131–132 ·
view source on GitHub ↗
(x, alpha=0.2)
Source
from the content-addressed store, hash-verified
129
##################################################################################
130
131
def
lrelu(x, alpha=0.2):
132
return
tf.nn.leaky_relu(x, alpha)
133
134
135
def
relu(x):
Callers
1
discriminator
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected