TF code def interleave(x, batch): s = x.get_shape().as_list() return tf.reshape(tf.transpose(tf.reshape(x, [-1, batch] + s[1:]), [1, 0] + list(range(2, 1+len(s)))), [-1] + s[1:])
(x, batch, inverse=False)
source not stored for this graph (policy: none)