class_docstr: Wrapper that applies residual connections and layer norm.
docstr: Returns the result of the residual and layernorm computation.
  
  Args:
    inputs: inputs to the main module.
docstr_tok: ["Returns","the","result","of","the","residual","and","layernorm","computation",".","Args",":","inputs",":","inputs","to","the","main","module","."]
code: def __call__(self, inputs: tf.Tensor):
      """Returns the result of the residual and layernorm computation.
  
      Args:
        inputs: inputs to the main module.
      """
  
      # Apply main module.
      outputs = self._layer(inputs)
      outputs = self._layer_norm(outputs + inputs)
  
      return outputs
  
imports: from typing import Callable, Optional, Sequence
  from acme import types
  from acme.tf import utils
  from acme.tf.networks import base
  import sonnet
  import tensorflow
label_desc: Use image node_id 2 for calling the ResidualLayernormWrapper obj's underlying member method code with example usage: obj.__call__(inputs) and returns: outputs