code: def fc(self, input, num_out, name, relu=True, act=None):
      fluid = import_fluid()
  
      if act is None:
          act = "relu" if relu is True else None
  
      prefix = name + "_"
      output = fluid.layers.fc(
          name=self.get_unique_output_name(name, "fc"),
          input=input,
          size=num_out,
          act=act,
          param_attr=fluid.ParamAttr(name=prefix + "weights"),
          bias_attr=fluid.ParamAttr(name=prefix + "biases"),
      )
      return output
  
imports: from __future__ import print_function
  from builtins import str
  from past.builtins import basestring
  from builtins import object
  import sys
  import os
  import math
  import numpy
label_desc: Use image node_id 22 for calling the Network obj's underlying member method code with example usage: obj.fc(input, num_out, name, relu, act) and returns: output