def _unvec_by(y, num_col):
    'Unstack vector to form a matrix, with a specified amount of columns.'
    return array_ops.matrix_transpose(array_ops.reshape(y, array_ops.concat([array_ops.shape(y)[:(- 1)], [num_col, (- 1)]], axis=0)))
Unstack vector to form a matrix, with a specified amount of columns.
def _unvec_by(y, num_col):
    
    return array_ops.matrix_transpose(array_ops.reshape(y, array_ops.concat([array_ops.shape(y)[:(- 1)], [num_col, (- 1)]], axis=0)))