Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Xplaceholder = tf.placeholder(trX.dtype, shape=trX.shape, name='Xplaceholder')
- Xvar = tf.get_variable('XVariable', shape=trX.shape, dtype=trX.dtype, initializer=tf.zeros_initializer())
- Yplaceholder = tf.placeholder(trY.dtype, shape=trY.shape, name='Yplaceholder')
- Yvar = tf.get_variable('YVariable', shape=trY.shape, dtype=trY.dtype, initializer=tf.zeros_initializer())
- Xassign = Xvar.assign(Xplaceholder)
- Yassign = Yvar.assign(Yplaceholder)
- ready_to_batch = tf.train.slice_input_producer([Xvar, Yvar])
- X, Y = tf.train.shuffle_batch ...
Add Comment
Please, Sign In to add comment