def METHOD_NAME(
    self,
    x: torch.Tensor,
    pos_enc: torch.Tensor,
    mask: torch.Tensor,
    chunk_size: int = 0,
    left_context: int = 0,
    right_context: int = 0,
) -> torch.Tensor:
    """Forward each block of the encoder architecture.
    Args:
        x: MultiBlocks input sequences. (B, T, D_block_1)
        pos_enc: Positional embedding sequences. (B, 2 * (T - 1), D_att)
        mask: Source mask. (B, T_2)
        left_context: Number of frames in left context.
        right_context: Number of frames in right context.
    Returns:
        x: MultiBlocks output sequences. (B, T, D_block_N)
    """
    for block_idx, block in enumerate(self.blocks):
        x, pos_enc = block.METHOD_NAME(
            x,
            pos_enc,
            mask,
            chunk_size=chunk_size,
            left_context=left_context,
            right_context=right_context,
        )
    x = self.norm_blocks(x)
    return x