class_docstr: MultiBlocks definition.
  
  Args:
      block_list: Individual blocks of the encoder architecture.
      output_size: Architecture output size.
      norm_class: Normalization module class.
      norm_args: Normalization module arguments.
      blockdrop_rate: Probability threshold of dropping out each block.
docstr: Forward each block of the encoder architecture.
  
  Args:
      x: MultiBlocks input sequences. (B, T, D_block_1)
      pos_enc: Positional embedding sequences.
      mask: Source mask. (B, T)
      chunk_mask: Chunk mask. (T_2, T_2)
  
  Returns:
      x: Output sequences. (B, T, D_block_N)
docstr_tok: ["Forward","each","block","of","the","encoder","architecture",".","Args",":","x",":","MultiBlocks","input","sequences",".","(","B",",","T",",","D_block_1",")","pos_enc",":","Positional","embedding","sequences",".","mask",":","Source","mask",".","(","B",",","T",")","chunk_mask",":","Chunk","mask",".","(","T_2",",","T_2",")","Returns",":","x",":","Output","sequences",".","(","B",",","T",",","D_block_N",")"]
code: def forward(
      self,
      x: torch.Tensor,
      pos_enc: torch.Tensor,
      mask: torch.Tensor,
      chunk_mask: Optional[torch.Tensor] = None,
  ) -> torch.Tensor:
      """Forward each block of the encoder architecture.
  
      Args:
          x: MultiBlocks input sequences. (B, T, D_block_1)
          pos_enc: Positional embedding sequences.
          mask: Source mask. (B, T)
          chunk_mask: Chunk mask. (T_2, T_2)
  
      Returns:
          x: Output sequences. (B, T, D_block_N)
  
      """
      self.keep_probs[:-1].uniform_()
  
      for idx, block in enumerate(self.blocks):
          if not self.training or (
              self.keep_probs[idx]
              >= (self.blockdrop_rate * (self.blockdrop_decay * idx))
          ):
              x, mask, pos_enc = block(
                  x, pos_enc, mask, chunk_mask=chunk_mask
              )
  
      x = self.norm_blocks(x)
  
      return x
  
imports: from typing import Dict, List, Optional
  import torch
label_desc: Use image node_id 3 for calling the MultiBlocks obj's underlying member method code with example usage: obj.forward(x, pos_enc, mask, chunk_mask) and returns: x