Skip to content

Commit

Permalink
df: fix typo in multiframe.py
Browse files Browse the repository at this point in the history
implemenation -> implementation
  • Loading branch information
eltociear authored and Rikorose committed Jun 12, 2023
1 parent 67539c5 commit 1775426
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DeepFilterNet/df/multiframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def psd(x: Tensor, n: int) -> Tensor:


def df(spec: Tensor, coefs: Tensor) -> Tensor:
"""Deep filter implemenation using `torch.einsum`. Requires unfolded spectrogram.
"""Deep filter implementation using `torch.einsum`. Requires unfolded spectrogram.
Args:
spec (complex Tensor): Spectrogram of shape [B, C, T, F, N]
Expand All @@ -137,7 +137,7 @@ def df(spec: Tensor, coefs: Tensor) -> Tensor:


def df_real(spec: Tensor, coefs: Tensor) -> Tensor:
"""Deep filter implemenation for real valued input Tensors. Requires unfolded spectrograms.
"""Deep filter implementation for real valued input Tensors. Requires unfolded spectrograms.
Args:
spec (real-valued Tensor): Spectrogram of shape [B, C, N, T, F, 2].
Expand Down

0 comments on commit 1775426

Please sign in to comment.