masoudpz:

I added some zeros at the end of my tensors but my result is differ from numpy.convolve


If you want the output to have the same size as the input in a similar way to numpy, then you need to add zero padding to both ends of the input.