I have a matrix with dimension (100,500,500) and would like to pad along axis 1 and 2, but not along axis 0. Is there a way to do that in numpy or do I have to split the matrix and stack it again?
Numpy.pad does not have a keyword axis.
I have a matrix with dimension (100,500,500) and would like to pad along axis 1 and 2, but not along axis 0. Is there a way to do that in numpy or do I have to split the matrix and stack it again?
Numpy.pad does not have a keyword axis.