code: def _interval(val_left, val_right):
      false = tf.zeros_like(val_left.x, dtype=bool)
      return LineSearchInterval(
          converged=false,
          failed=false,
          func_evals=tf.constant(0),
          iterations=tf.zeros_like(val_left.x, dtype=tf.int32),
          left=val_left,
          right=val_right,
      )
  
imports: import collections
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.math.gradient import value_and_gradient
  from tensorflow_probability.python.optimizer.linesearch.internal import hager_zhang_lib
label_desc: Use image node_id 1 for calling a global function with example usage: _interval(val_left, val_right) and returns: LineSearchInterval