Guest User

Untitled

a guest
Nov 20th, 2017
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. a = []
  2. b = tf.cond(tf.greater_equal(len(a), 2)), lambda: tf.cond(tf.less(self.a[-1], self.a[-2]), lambda: 1.0, lambda: 0.), lambda: -1)
  3. ...
  4. a.append(update_a()) # update_a() output is a tensor
Add Comment
Please, Sign In to add comment