code: def _reduce_exiting_on_none(fn, args):
      args = list(args)
      if any(x is None for x in args):
          return None
      return _reduce_ignoring_nones(fn, args)
  
file_path: probability/tensorflow_probability/python/optimizer/proximal_hessian_sparse.py
imports: import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.math.generic import soft_threshold
  from tensorflow_probability.python.math.linalg import sparse_or_dense_matvecmul
label_desc: Use image node_id 2 for calling a global function with example usage: _reduce_exiting_on_none(fn, args) and returns: _reduce_ignoring_nones, None