def __init__(self, sample_rate=16000, name='tfbanks', **kwargs):
        """Constructor of a SincNet + frontend.


        Args:
          sample_rate: audio sampling rate.
          name: name of the layer.
          **kwargs: Arguments passed to Leaf, except conv1d_cls, complex_conv_init,
            activation, pooling_cls, pooling_init, compression_fn,
            sample_rate and name which are already fixed.
        """
        complex_conv_init = initializers.GaborInit(
            sample_rate=sample_rate,
            min_freq=60.0,
            max_freq=7800.0)
        pooling_init = initializers.LowpassInit(
            sample_rate=sample_rate, window_type=utils.WindowType.SQUARED_HANNING)
        super().__init__(
            conv1d_cls=tf.keras.layers.Conv1D,
            activation=SquaredModulus(),
            pooling_cls=pooling.LearnablePooling1D,
            complex_conv_init=complex_conv_init,
            pooling_init=pooling_init,
            compression_fn=functools.partial(log_compression, log_offset=1e-5),
            name=name,
            **kwargs)
Constructor of a SincNet + frontend.


        Args:
          sample_rate: audio sampling rate.
          name: name of the layer.
          **kwargs: Arguments passed to Leaf, except conv1d_cls, complex_conv_init,
            activation, pooling_cls, pooling_init, compression_fn,
            sample_rate and name which are already fixed.
        
leaf_audio/frontend.py