class_docstr: ResNet-18 (V1).
class_docstr_tok: ["ResNet-18","(","V1",")","."]
code: def call(self, x, training=False):
      x = self.conv1(x)
      x = self.bn1(x, training=training)
      x = self.relu1(x)
      x = self.maxpool(x)
  
      x = self.layer1(x, training=training)
      x = self.layer2(x, training=training)
      x = self.layer3(x, training=training)
      x = self.layer4(x, training=training)
  
      x = tf.reduce_mean(x, axis=(1, 2))
      x = self.fc(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 Resnet18 obj's underlying member method code with example usage: obj.call(x, training) and returns: x