code: def _structure_broadcasting_where(c, x, y):
      """Selects elements from two structures using a shared condition `c`."""
      return tf.nest.map_structure(
          lambda xp, yp: tf.where(c, xp, yp), x, y
      )
  
file_path: probability/tensorflow_probability/python/math/root_search.py
imports: import collections
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import assert_util
  from tensorflow_probability.python.internal import callable_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.python.util import deprecation
label_desc: Use image node_id 2 for calling a global function with example usage: _structure_broadcasting_where(c, x, y) and returns: tf