code: def __init__(self, layers=50):
      self.params = train_parameters
      self.layers = layers
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from builtins import chr
  from builtins import str
  from builtins import range
  from builtins import object
  import math
  import paddle
  import paddle.fluid
  from paddle.fluid.param_attr import ParamAttr
label_desc: Use image node_id 1 to create a new ResNet object from inherited base classes: object with example: obj = ResNet(layers)