class_docstr: Helper class to make it easier to manage caching in `Bijector`.
class_docstr_tok: ["Helper","class","to","make","it","easier","to","manage","caching","in","`","Bijector","`","."]
docstr: Converts lists of lists to tuples of tuples.
code: def _deep_tuple(self, x):
      """Converts lists of lists to tuples of tuples."""
      return (
          tuple(map(self._deep_tuple, x))
          if isinstance(x, (list, tuple))
          else x
      )
  
imports: import abc
  import collections
  import contextlib
  import re
  import numpy
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor_shape
  from tensorflow.python.framework import tensor_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import check_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops.distributions import util
  from tensorflow.python.util import object_identity
label_desc: Use image node_id 7 for calling the _Mapping obj's underlying member method code with example usage: obj._deep_tuple(x) and returns: unknown