code: def basic_block(self, input, num_filters, stride, is_first, name):
      conv0 = self.conv_bn_layer(
          input=input,
          num_filters=num_filters,
          filter_size=3,
          act="relu",
          stride=stride,
          name=name + "_branch2a",
      )
      conv1 = self.conv_bn_layer(
          input=conv0,
          num_filters=num_filters,
          filter_size=3,
          act=None,
          name=name + "_branch2b",
      )
      short = self.shortcut(
          input, num_filters, stride, is_first, name=name + "_branch1"
      )
      return fluid.layers.elementwise_add(x=short, y=conv1, act="relu")
  
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 6 for calling the ResNet obj's underlying member method code with example usage: obj.basic_block(input, num_filters, stride, is_first, name) and returns: fluid