MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / forward_logits

Method forward_logits

recommenders/rbm_tf_k.py:219–221  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

217 return tf.nn.sigmoid(dot1(X, self.W) + self.c)
218
219 def forward_logits(self, X):
220 Z = self.forward_hidden(X)
221 return dot2(Z, self.W) + self.b
222
223 def forward_output(self, X):
224 return tf.nn.softmax(self.forward_logits(X))

Callers 2

buildMethod · 0.95
forward_outputMethod · 0.95

Calls 2

forward_hiddenMethod · 0.95
dot2Function · 0.70

Tested by

no test coverage detected