def METHOD_NAME(self, samples: torch.Tensor, is_final: bool) -> None:
    """Compute features from input samples.
    Args:
        samples: Speech data. (S)
        is_final: Whether speech corresponds to the final chunk of data.
    Returns:
        feats: Features sequence. (1, chunk_sz_bs, D_feats)
        feats_length: Features length sequence. (1,)
    """
    samples = self.get_current_samples(samples, is_final)
    feats, feats_length = self.feature_extractor(samples, self.samples_length)
    if self.normalization_module is not None:
        feats, feats_length = self.normalization_module(feats, feats_length)
    feats, feats_length = self.get_current_feats(feats, feats_length, is_final)
    return feats, feats_length