Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ dense
Function
dense
rl3/a2c/neural_network.py:17–19 ·
view source on GitHub ↗
(inputs, n, act=tf.nn.relu, gain=1.0)
Source
from the content-addressed store, hash-verified
15
16
17
def
dense(inputs, n, act=tf.nn.relu, gain=1.0):
18
return
tf.layers.dense(inputs=inputs, units=n, activation=act,
19
kernel_initializer=tf.orthogonal_initializer(gain))
20
21
22
class
CNN:
Callers
2
__init__
Method · 0.85
poetry.py
File · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected