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

Method forward_output

unsupervised_class2/rbm_tf.py:112–113  ·  view source on GitHub ↗
(self, X)

Source from the content-addressed store, hash-verified

110 return tf.matmul(Z, tf.transpose(a=self.W)) + self.b
111
112 def forward_output(self, X):
113 return tf.nn.sigmoid(self.forward_logits(X))
114
115 def transform(self, X):
116 # accepts and returns a real numpy array

Callers

nothing calls this directly

Calls 1

forward_logitsMethod · 0.95

Tested by

no test coverage detected