MCPcopy 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
17def 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
22class CNN:

Callers 2

__init__Method · 0.85
poetry.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected