Explore
Connect
Documentation
Snippets
Log in
Sign up
Building a Perceptron
1
2
3
4
5
6
7
# Create a new graph
Graph().as_default()
x = placeholder()
w = Variable([
1
,
1
])
b = Variable(
0
)
p = sigmoid( add(matmul(w, x), b) )
Enter to Rename, Shift+Enter to Preview
Run