(self, inputs, training=None, mask=None)
return ffn
The implementation of PositionwiseFeedForward.
    Args:
      inputs: [batch_size, seq_x_len, d_model]
    Return:
      ffn: [batch_size, seq_x_len, d_model]
The implementation of PositionwiseFeedForward.
    Args:
      inputs: [batch_size, seq_x_len, d_model]
    Return:
      ffn: [batch_size, seq_x_len, d_model]
The implementation of PositionwiseFeedForward . Args : inputs : [ batch_size seq_x_len d_model ] Return : ffn : [ batch_size seq_x_len d_model ]
def call(self, inputs, training=None, mask=None):
    """
    The implementation of PositionwiseFeedForward.
    Args:
      inputs: [batch_size, seq_x_len, d_model]
    Return:
      ffn: [batch_size, seq_x_len, d_model]
    """
    ffn = self.dense2(self.dense1(inputs))
    return ffn
def call ( self , inputs , training = None , mask = None ) : ffn = self . dense2 ( self . dense1 ( inputs ) ) return ffn