code: def test_interpolated_yields_with_yields(
      self, interpolation_times, reference_times, yields, expected
  ):
      dtypes = [np.float32, np.float64]
      for dtype in dtypes:
          expected = np.array(expected, dtype=dtype)
          actual = self.evaluate(
              monotone_convex.interpolate_yields(
                  interpolation_times,
                  reference_times,
                  yields=yields,
                  dtype=dtype,
              )
          )
          np.testing.assert_allclose(actual, expected, rtol=1e-5)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  from tensorflow.python.framework import test_util
  from tf_quant_finance.rates.hagan_west import monotone_convex
label_desc: Use image node_id 10 for calling the MonotoneConvexTest obj's underlying member method code with example usage: obj.test_interpolated_yields_with_yields(interpolation_times, reference_times, yields, expected) without return types