class_docstr: RNNCell wrapper that ensures cell inputs are added to the outputs.
class_docstr_tok: ["RNNCell","wrapper","that","ensures","cell","inputs","are","added","to","the","outputs","."]
docstr: Returns the config of the residual wrapper.
docstr_tok: ["Returns","the","config","of","the","residual","wrapper","."]
code: def get_config(self):
      """Returns the config of the residual wrapper."""
      if self._residual_fn is not None:
          (
              function,
              function_type,
              function_module,
          ) = _serialize_function_to_config(self._residual_fn)
          config = {
              "residual_fn": function,
              "residual_fn_type": function_type,
              "residual_fn_module": function_module,
          }
      else:
          config = {}
      base_config = super(ResidualWrapperBase, self).get_config()
      return dict(list(base_config.items()) + list(config.items()))
  
imports: import hashlib
  import numbers
  import sys
  import types
  import warnings
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_conversion
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.keras.utils import generic_utils
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import tensor_array_ops
  from tensorflow.python.util import nest
label_desc: Use image node_id 6 for calling the ResidualWrapperBase obj's underlying member method code with example usage: obj.get_config() and returns: dict