Demo entry 6662271

额外人

   

Submitted by anonymous on Nov 25, 2017 at 14:01
Language: HTML+Lasso. Code size: 269 Bytes.

def main(_):
  # Import data
  mnist = input_data.read_data_sets(FLAGS.data_dir, one_hot=True)

  # Create the model
  x = tf.placeholder(tf.float32, [None, 784])
  W = tf.Variable(tf.zeros([784, 10]))
  b = tf.Variable(tf.zeros([10]))
  y = tf.matmul(x, W) + b

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).