def test_join_oneInput():
 x_0 = theano.tensor.fmatrix()
 x_1 = theano.tensor.fmatrix()
 x_2 = theano.tensor.fvector()
 join_0 = theano.tensor.concatenate([x_0], axis=1)
 join_1 = theano.tensor.concatenate([x_0, x_1, theano.tensor.shape_padright(x_2)], axis=1)
 assert (join_0 is x_0)
 assert (join_1 is not x_0)

def test_join_oneInput ( ) : x_0 = theano . tensor . fmatrix ( ) x_1 = theano . tensor . fmatrix ( ) x_2 = theano . tensor . fvector ( ) join_0 = theano . tensor . concatenate ( [ x_0 ] , axis = 1 ) join_1 = theano . tensor . concatenate ( [ x_0 , x_1 , theano . tensor . shape_padright ( x_2 ) ] , axis = 1 ) assert ( join_0 is x_0 ) assert ( join_1 is not x_0 )
test join when only 1 input is given .