class_docstr: ResNet model.
class_docstr_tok: ["ResNet","model","."]
docstr: Convolution.
docstr_tok: ["Convolution","."]
code: def _conv(
      self, name, x, filter_size, in_filters, out_filters, strides
  ):
      """Convolution."""
      if self.init_layers:
          conv = Conv2DnGPU(
              out_filters,
              (filter_size, filter_size),
              strides[1:3],
              "SAME",
              w_name="DW",
          )
          conv.name = name
          self.layers += [conv]
      else:
          conv = self.layers[self.layer_idx]
          self.layer_idx += 1
      conv.device_name = self.device_name
      conv.set_training(self.training)
      return conv.fprop(x)
  
imports: from collections import namedtuple
  import tensorflow
  import six
  from model import MLPnGPU
  from model import Conv2DnGPU
  from model import LinearnGPU
  from model import LayerNorm
label_desc: Use image node_id 12 for calling the ResNetTF obj's underlying member method code with example usage: obj._conv(name, x, filter_size, in_filters, out_filters, strides) and returns: conv