class_docstr: ResNet model.
class_docstr_tok: ["ResNet","model","."]
docstr: Layer normalization.
docstr_tok: ["Layer","normalization","."]
code: def _layer_norm(self, name, x):
      """Layer normalization."""
      if self.init_layers:
          bn = LayerNorm()
          bn.name = name
          self.layers += [bn]
      else:
          bn = self.layers[self.layer_idx]
          self.layer_idx += 1
      bn.device_name = self.device_name
      bn.set_training(self.training)
      x = bn.fprop(x)
      return 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 8 for calling the ResNetTF obj's underlying member method code with example usage: obj._layer_norm(name, x) and returns: x