code: def strip_seeds(obj):
      if not is_namedtuple_like(obj):
          return obj
      return type(obj)(
          **{
              fn: strip_seeds(fv) if fn != "seed" else []
              for fn, fv in obj._asdict().items()
          }
      )
  
imports: import warnings
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import broadcast_util
  from tensorflow_probability.python.internal import distribution_util
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.math.gradient import value_and_gradient
  from tensorflow.python.util import deprecation
label_desc: Use image node_id 10 for calling a global function with example usage: strip_seeds(obj) and returns: type, obj