Created
August 7, 2016 19:30
-
-
Save jakosz/4325a70823e51b8e713aae1e3c484f5f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import tensorflow as tf | |
# model parameters | |
x = tf.placeholder(tf.float32, [None, 784]) | |
W = tf.Variable(tf.zeros([784, 10])) | |
b = tf.Variable(tf.zeros([10])) | |
# model definition | |
y = tf.nn.softmax(tf.matmul(x, W) + b) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment