Skip to content

Commit f488fc0

Browse files
committed
make doc test happy
1 parent 4ad93ca commit f488fc0

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

diffsptk/modules/fftcep.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ def forward(self, x: torch.Tensor) -> torch.Tensor:
7676
>>> fftcep = diffsptk.CepstralAnalysis(fft_length=16, cep_order=3)
7777
>>> x = diffsptk.ramp(19)
7878
>>> c = fftcep(stft(x))
79-
>>> c
80-
tensor([[-0.9663, 0.8190, -0.0932, -0.0152],
81-
[-0.8540, 4.6173, -0.5496, -0.3206]])
79+
>>> c.round(decimals=3)
80+
tensor([[-0.9660, 0.8190, -0.0930, -0.0150],
81+
[-0.8540, 4.6170, -0.5500, -0.3210]])
8282
8383
"""
8484
check_size(x.size(-1), self.in_dim, "dimension of spectrum")

0 commit comments

Comments
 (0)