Guest User

Untitled

a guest
Jul 17th, 2018
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.28 KB | None | 0 0
  1. with tf.Graph().as_default():
  2. x_tensor = tf.constant(9.0)
  3.  
  4. # The converted function works like a regular op: tensors in, tensors out.
  5. huber_loss_tensor = huber_loss(x_tensor)
  6.  
  7. with tf.Session() as sess:
  8. print('TensorFlow result: %2.2f\n' % sess.run(huber_loss_tensor))
Add Comment
Please, Sign In to add comment