docstr: Tests default initialization behavior of univariate sample_paths.
docstr_tok: ["Tests","default","initialization","behavior","of","univariate","sample_paths","."]
code: def test_univariate_default_initialization(self):
      """Tests default initialization behavior of univariate sample_paths."""
      drift_in = 0.05
      vol_in = 0.5
      times = [0, 1, 2, 3]
      num_samples = 2
      dtype = tf.float64
      process = tff.models.GeometricBrownianMotion(
          drift_in, vol_in, dtype=dtype
      )
      sample_paths = process.sample_paths(
          times=times, num_samples=num_samples
      )
      self.assertAllEqual(
          sample_paths[:, 0, 0], np.ones((num_samples,))
      )
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v2
  import tf_quant_finance
  from tensorflow.python.framework import test_util
  from tf_quant_finance.models.geometric_brownian_motion import geometric_brownian_motion_test_utils
  from tf_quant_finance.models.geometric_brownian_motion import univariate_geometric_brownian_motion
label_desc: Use image node_id 2 for calling the GeometricBrownianMotionTest obj's underlying member method code with example usage: obj.test_univariate_default_initialization() without return types