MCPcopy Index your code
hub / github.com/tensorlayer/TensorLayer / forward

Method forward

tensorlayer/layers/dense/base_dense.py:105–111  ·  view source on GitHub ↗
(self, inputs)

Source from the content-addressed store, hash-verified

103
104 # @tf.function
105 def forward(self, inputs):
106 z = tf.matmul(inputs, self.W)
107 if self.b_init:
108 z = tf.add(z, self.b)
109 if self.act:
110 z = self.act(z)
111 return z

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected