docstr: Tests that the `times` should be a rank 1 `Tensor`.
docstr_tok: ["Tests","that","the","`","times","`","should","be","a","rank","1","`","Tensor","`","."]
code: def test_times_wrong_rank(self):
      """Tests that the `times` should be a rank 1 `Tensor`."""
      dtype = tf.float64
      process = tff.models.hull_white.VectorHullWhiteModel(
          dim=2,
          mean_reversion=self.mean_reversion,
          volatility=self.volatility,
          initial_discount_rate_fn=self.instant_forward_rate_2d_fn,
          dtype=dtype,
      )
      with self.assertRaises(ValueError):
          process.sample_paths([[0.1, 2.0]], num_samples=100)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 11 for calling the HullWhiteTest obj's underlying member method code with example usage: obj.test_times_wrong_rank() without return types