class_docstr: Feed-Forward Network
class_docstr_tok: ["Feed-Forward","Network"]
code: def forward(self, x):
      hidden = self.fc1(x)
      hidden = F.relu(hidden)
      if self.dropout_rate:
          hidden = F.dropout(
              hidden, p=self.dropout_rate, mode="downscale_in_infer"
          )
      out = self.fc2(hidden)
      return out
  
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 2 for calling the FFN obj's underlying member method code with example usage: obj.forward(x) and returns: out