def up_block(ch, x, with_conditioning):
    with tf.name_scope('up_block'):
        u = up(ch, x)
        cond = concat_cond(u, with_conditioning)
        return conv(cond.shape.as_list()[(- 1)], cond)
def up_block(ch, x, with_conditioning):
    with tf.name_scope('up_block'):
        u = up(ch, x)
        cond = concat_cond(u, with_conditioning)
        return conv(cond.shape.as_list()[(- 1)], cond)