class_docstr: Feed-Forward Network
class_docstr_tok: ["Feed-Forward","Network"]
code: def __init__(self, d_inner_hid, d_model, dropout_rate):
      super(FFN, self).__init__()
      self.dropout_rate = dropout_rate
      self.fc1 = paddle.nn.Linear(
          in_features=d_model, out_features=d_inner_hid
      )
      self.fc2 = paddle.nn.Linear(
          in_features=d_inner_hid, out_features=d_model
      )
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import math
  import paddle
  from paddle import ParamAttr, nn
  from paddle import nn, ParamAttr
  from paddle.nn import functional
  import numpy
label_desc: Use image node_id 1 to create a new FFN object from inherited base classes: nn with example: obj = FFN(d_inner_hid, d_model, dropout_rate)