code: def test_batching_auto_broadcast(
      self,
      interpolation_times,
      reference_times,
      reference_yields,
      results,
  ):
      dtype = tf.float64
      result = self.evaluate(
          constant_fwd_interpolation.interpolate(
              interpolation_times,
              reference_times,
              reference_yields,
              dtype=dtype,
          )
      )
      expected_result = np.array(results)
      np.testing.assert_allclose(result, expected_result, atol=1e-6)
  
file_path: tf-quant-finance/tf_quant_finance/rates/constant_fwd/constant_fwd_interpolation_test.py
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.framework import test_util
  from tf_quant_finance.rates.constant_fwd import constant_fwd_interpolation
label_desc: Use image node_id 4 for calling the ConstantFwdInterpolationTest obj's underlying member method code with example usage: obj.test_batching_auto_broadcast(interpolation_times, reference_times, reference_yields, results) without return types