Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ forward
Function
forward
ann_class/tf_example.py:45–47 ·
view source on GitHub ↗
(X, W1, b1, W2, b2)
Source
from the content-addressed store, hash-verified
43
44
45
def
forward(X, W1, b1, W2, b2):
46
Z = tf.nn.sigmoid(tf.matmul(X, W1) + b1)
47
return
tf.matmul(Z, W2) + b2
48
49
50
tfX = tf.placeholder(tf.float32, [None, D])
Callers
1
tf_example.py
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected