Theano and TensorFlow implement convolution in different ways you have to convert the kernel before using it