Skip to content

Instantly share code, notes, and snippets.

@3h4
Created November 18, 2016 14:43
Show Gist options
  • Save 3h4/6c9fb11eb0789236688b7cdbe5793428 to your computer and use it in GitHub Desktop.
Save 3h4/6c9fb11eb0789236688b7cdbe5793428 to your computer and use it in GitHub Desktop.
W = tf.Variable(np.random.rand(state_size+1, state_size), dtype=tf.float32)
b = tf.Variable(np.zeros((1,state_size)), dtype=tf.float32)
W2 = tf.Variable(np.random.rand(state_size, num_classes),dtype=tf.float32)
b2 = tf.Variable(np.zeros((1,num_classes)), dtype=tf.float32)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment