espnet2.gan_codec.shared.quantizer.modules.core_vq.laplace_smoothing
Less than 1 minute
espnet2.gan_codec.shared.quantizer.modules.core_vq.laplace_smoothing
espnet2.gan_codec.shared.quantizer.modules.core_vq.laplace_smoothing(x, n_categories: int, epsilon: float = 1e-05)