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

Method forward_hidden

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

Source from the content-addressed store, hash-verified

214 return first_term + second_term
215
216 def forward_hidden(self, X):
217 return tf.nn.sigmoid(dot1(X, self.W) + self.c)
218
219 def forward_logits(self, X):
220 Z = self.forward_hidden(X)

Callers 1

forward_logitsMethod · 0.95

Calls 1

dot1Function · 0.70

Tested by

no test coverage detected