class_docstr: ResNet model.
class_docstr_tok: ["ResNet","model","."]
docstr: FullyConnected layer for final output.
docstr_tok: ["FullyConnected","layer","for","final","output","."]
code: def _fully_connected(self, x, out_dim):
      """FullyConnected layer for final output."""
      if self.init_layers:
          fc = LinearnGPU(out_dim, w_name="DW")
          fc.name = "logits"
          self.layers += [fc]
      else:
          fc = self.layers[self.layer_idx]
          self.layer_idx += 1
      fc.device_name = self.device_name
      fc.set_training(self.training)
      return fc.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 14 for calling the ResNetTF obj's underlying member method code with example usage: obj._fully_connected(x, out_dim) and returns: fc