code: def net(self, input, class_dim=1000):
      convfc = self.conv_net(input, class_dim)
      logits = fluid.layers.softmax(input=convfc)
  
      return logits
  
imports: from __future__ import division
  from builtins import str
  from builtins import range
  from builtins import object
  from past.utils import old_div
  import paddle
  import paddle.fluid
  import math
  from paddle.fluid.layer_helper import LayerHelper
  from paddle.fluid.param_attr import ParamAttr
  from paddle.fluid.initializer import Constant
label_desc: Use image node_id 3 for calling the ResNet obj's underlying member method code with example usage: obj.net(input, class_dim) and returns: logits