original_docstring: Pass the inputs (and mask) through the decoder layer in turn.
  
          Args:
              tgt: the sequence to the decoder.
              memory: the sequnce from the last layer of the encoder.
              tgt_mask: the mask for the tgt sequence.
              memory_mask: the mask for the memory sequence.
          
docstring: Pass the inputs (and mask) through the decoder layer in turn.
docstring_tokens: Pass the inputs ( and mask ) through the decoder layer in turn .
code: def forward(self, tgt, memory, tgt_mask, memory_mask):
          """Pass the inputs (and mask) through the decoder layer in turn.
  
          Args:
              tgt: the sequence to the decoder.
              memory: the sequnce from the last layer of the encoder.
              tgt_mask: the mask for the tgt sequence.
              memory_mask: the mask for the memory sequence.
          """
          output = tgt
          for layer in self.layers:
              output = layer(output, memory, tgt_mask, memory_mask)
  
          if self.norm:
              output = self.norm(output)
  
          return output
code_tokens: def forward ( self , tgt , memory , tgt_mask , memory_mask ) : output = tgt for layer in self . layers : output = layer ( output , memory , tgt_mask , memory_mask ) if self . norm : output = self . norm ( output ) return output
short_docstring: Pass the inputs (and mask) through the decoder layer in turn.
short_docstring_tokens: Pass the inputs ( and mask ) through the decoder layer in turn .
comment: """Pass the inputs (and mask) through the decoder layer in turn.
  
          Args:
              tgt: the sequence to the decoder.
              memory: the sequnce from the last layer of the encoder.
              tgt_mask: the mask for the tgt sequence.
              memory_mask: the mask for the memory sequence.
          """