def METHOD_NAME(self, left_context: int, device: torch.device) -> None:
    """Initialize/Reset encoder streaming cache.
    Args:
        left_context: Number of left frames during chunk-by-chunk inference.
        device: Device to use for cache tensor.
    """
    for idx in range(self.num_blocks):
        self.blocks[idx].METHOD_NAME(left_context, device)