code: def test_volatility_correctness(self):
      a = 0.03
      b = 0.1
      rho = -0.2
      m = 0.05
      sigma = 0.5
      k = np.linspace(-1.25, 1.25, 11)
  
      parameters = np.array([[a, b, rho, m, sigma]])
      expiries = np.array([2.0])
  
      actual = self.evaluate(
          tff.experimental.svi.implied_volatility_from_raw_svi_parameters(
              svi_parameters=parameters,
              log_moneyness=k,
              expiries=expiries,
          )
      )
      expected = np.array(
          [
              [
                  0.31247711,
                  0.28922053,
                  0.26489603,
                  0.24013574,
                  0.21715147,
                  0.20155567,
                  0.19981447,
                  0.21008108,
                  0.22585754,
                  0.2432638,
                  0.2607681,
              ]
          ]
      )
      self.assertAllClose(actual, expected, 1e-8)
  
file_path: tf-quant-finance/tf_quant_finance/experimental/svi/parameterizations_test.py
imports: import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 2 for calling the SviParameterizationsTest obj's underlying member method code with example usage: obj.test_volatility_correctness() without return types