Guest User

Untitled

a guest
Jan 19th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. Xplaceholder = tf.placeholder(trX.dtype, shape=trX.shape, name='Xplaceholder')
  2. Xvar = tf.get_variable('XVariable', shape=trX.shape, dtype=trX.dtype, initializer=tf.zeros_initializer())
  3. Yplaceholder = tf.placeholder(trY.dtype, shape=trY.shape, name='Yplaceholder')
  4. Yvar = tf.get_variable('YVariable', shape=trY.shape, dtype=trY.dtype, initializer=tf.zeros_initializer())
  5. Xassign = Xvar.assign(Xplaceholder)
  6. Yassign = Yvar.assign(Yplaceholder)
  7. ready_to_batch = tf.train.slice_input_producer([Xvar, Yvar])
  8. X, Y = tf.train.shuffle_batch ...
Add Comment
Please, Sign In to add comment