Skip to content

Commit

Permalink
Merge branch 'fix/keep-ndims-Nd' of github.com:v0lta/PyTorch-Wavelet-…
Browse files Browse the repository at this point in the history
…Toolbox into fix/keep-ndims-Nd
  • Loading branch information
v0lta committed Jul 1, 2024
2 parents 986692f + de1b7c8 commit f008cfa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/ptwt/separable_conv_transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ def _fswavedecn(
Example:
>>> import torch
>>> import ptwt
>>> from ptwt.separable_conv_transform import _fswavedecn
>>> data = torch.randn(5, 10, 10, 10)
>>> coeff = ptwt.fswavedecn(data, "haar", ndim=3, level=2)
>>> coeff = _fswavedecn(data, "haar", ndim=3, level=2)
"""
if axes is None:
axes = tuple(range(-ndim, 0))
Expand Down Expand Up @@ -407,10 +407,10 @@ def _fswaverecn(
Example:
>>> import torch
>>> import ptwt
>>> from ptwt.separable_conv_transform import _fswavedecn, _fswaverecn
>>> data = torch.randn(5, 10, 10, 10)
>>> coeff = ptwt.fswavedecn(data, "haar", ndim=3, level=2)
>>> rec = ptwt.fswaverec3(coeff, "haar", ndim=3)
>>> coeff = _fswavedecn(data, "haar", ndim=3, level=2)
>>> rec = _fswaverecn(coeff, "haar", ndim=3)
"""
if axes is None:
axes = tuple(range(-ndim, 0))
Expand Down

0 comments on commit f008cfa

Please sign in to comment.