def conv_cond_concat(x, y):
 return T.concatenate([x, (y * T.ones((x.shape[0], y.shape[1], x.shape[2], x.shape[3])))], axis=1)

def conv_cond_concat ( x , y ) : return T . concatenate ( [ x , ( y * T . ones ( ( x . shape [ 0 ] , y . shape [ 1 ] , x . shape [ 2 ] , x . shape [ 3 ] ) ) ) ] , axis = 1 )
concatenate conditioning vector on feature map axis .