v0lta / PyTorch-Wavelet-Toolbox

Differentiable fast wavelet transforms in PyTorch with GPU support.
https://pytorch-wavelet-toolbox.readthedocs.io
European Union Public License 1.2
279 stars 36 forks source link

Allow specification of PaddingMode for odd length signals in matrix transforms #90

Closed felixblanke closed 3 months ago

felixblanke commented 3 months ago

Matrix transforms pad signals with odd sizes to be of even length before calculating the matrix-vector product. Currently, we always use zero padding.

An improvement would be to allow the specification of the padding similarly to the convolutional operators.

felixblanke commented 3 months ago

Closed as #97 is merged