Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Tathagatd96/8e574cef5e492daedb95e4bc669bcff8 to your computer and use it in GitHub Desktop.
Save Tathagatd96/8e574cef5e492daedb95e4bc669bcff8 to your computer and use it in GitHub Desktop.
loss=tf.reduce_mean(tf.square(output_layer-X))
optimizer=tf.train.AdamOptimizer(lr)
train=optimizer.minimize(loss)
init=tf.global_variables_initializer()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment