Median filtering for 2D Tenso

Hi,
Is there any way to do median filtering for 2D Tensor(1X130) for post-processing of classification problem in pytorch?

Thanks

https://torchgeometry.readthedocs.io/en/latest/_modules/kornia/filters/median.html