class_docstr: Residual Layer.
class_docstr_tok: ["Residual","Layer","."]
code: def __init__(self, block, inplanes, planes, blocks, stride=1):
      super(ResLayer, self).__init__()
      if stride != 1 or inplanes != planes:
          downsample = True
      else:
          downsample = False
  
      self.conv_layers = []
      self.conv_layers.append(
          block(planes, stride, downsample=downsample)
      )
      for unused_i in range(1, blocks):
          self.conv_layers.append(block(planes))
  
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 1 to create a new ResLayer object from inherited base classes: keras with example: obj = ResLayer(block, inplanes, planes, blocks, stride)