Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ forward_hidden
Method
forward_hidden
unsupervised_class2/rbm_tf.py:105–106 ·
view source on GitHub ↗
(self, X)
Source
from the content-addressed store, hash-verified
103
return
first_term + second_term
104
105
def
forward_hidden(self, X):
106
return
tf.nn.sigmoid(tf.matmul(X, self.W) + self.c)
107
108
def
forward_logits(self, X):
109
Z = self.forward_hidden(X)
Callers
1
forward_logits
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected