class_docstr: Building block of resnet.
class_docstr_tok: ["Building","block","of","resnet","."]
code: def call(self, x, training=True):
      residual = x
      if self.downsample:
          residual = self.dconv1(residual)
          residual = self.dbn1(residual, training=training)
  
      x = self.conv1(x)
      x = self.bn1(x, training=training)
      x = tf.nn.relu(x)
      x = self.conv2(x)
      x = self.bn2(x, training=training)
  
      x += residual
      x = tf.nn.relu(x)
  
      return x
  
file_path: graphics/tensorflow_graphics/projects/cvxnet/lib/resnet.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import tensorflow.compat.v1
label_desc: Use image node_id 2 for calling the BasicBlock obj's underlying member method code with example usage: obj.call(x, training) and returns: x