in basic_pitch/layers/nnaudio.py [0:0]
def get_config(self) -> Any:
config = super().get_config().copy()
config.update(
{
"sample_rate": self.sample_rate,
"hop_length": self.hop_length,
"fmin": self.fmin,
"fmax": self.fmax,
"n_bins": self.n_bins,
"filter_scale": self.filter_scale,
"bins_per_octave": self.bins_per_octave,
"norm": self.norm,
"basis_norm": self.basis_norm,
"window": self.window,
"pad_mode": self.pad_mode,
"output_format": self.output_format,
"earlydownsample": self.earlydownsample,
"trainable": self.trainable,
"match_torch_exactly": self.match_torch_exactly,
}
)
return config