MCPcopy Create free account
hub / github.com/espnet/espnet / __call__

Method __call__

espnet2/legacy/transform/spectrogram.py:152–160  ·  view source on GitHub ↗

Process call method.

(self, x)

Source from the content-addressed store, hash-verified

150 )
151
152 def __call__(self, x):
153 """Process call method."""
154 return spectrogram(
155 x,
156 n_fft=self.n_fft,
157 n_shift=self.n_shift,
158 win_length=self.win_length,
159 window=self.window,
160 )
161
162
163class LogMelSpectrogram(object):

Callers

nothing calls this directly

Calls 1

spectrogramFunction · 0.85

Tested by

no test coverage detected