code: def test_variance_correctness(self):
      a = -0.02
      b = 0.15
      rho = 0.3
      m = 0.2
      sigma = 0.4
  
      parameters = np.array([a, b, rho, m, sigma])
      forwards = np.array([8.0])
      strikes = np.linspace(4.0, 16.0, 10)
  
      actual = self.evaluate(
          tff.experimental.svi.total_variance_from_raw_svi_parameters(
              svi_parameters=parameters,
              forwards=forwards,
              strikes=strikes,
          )
      )
      expected = np.array(
          [
              0.08660251,
              0.06160364,
              0.04579444,
              0.03808204,
              0.03832965,
              0.04537031,
              0.05669857,
              0.06997256,
              0.0837822,
              0.09743798,
          ]
      )
      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 1 for calling the SviParameterizationsTest obj's underlying member method code with example usage: obj.test_variance_correctness() without return types