code: def testDriftScalePriorRequiresInvertedSquaredBijector(self):
      with self.assertRaisesRegex(
          NotImplementedError,
          "experimental_resample_drift_scale requires drift scale prior",
      ):
          seasonal_component = Seasonal(
              num_seasons=3,
              drift_scale_prior=transformed_distribution.TransformedDistribution(
                  bijector=invert.Invert(identity.Identity()),
                  distribution=inverse_gamma.InverseGamma(
                      tf.constant(16.0), tf.constant(4.0)
                  ),
              ),
          )
          seasonal_component.experimental_resample_drift_scale(
              latents=tf.constant(
                  value=[],
                  shape=[0, seasonal_component.num_seasons - 1],
              ),
              seed=test_util.test_seed(sampler_type="stateless"),
          )
  
imports: import math
  from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import identity
  from tensorflow_probability.python.bijectors import invert
  from tensorflow_probability.python.bijectors import square
  from tensorflow_probability.python.distributions import categorical
  from tensorflow_probability.python.distributions import inverse_gamma
  from tensorflow_probability.python.distributions import linear_gaussian_ssm
  from tensorflow_probability.python.distributions import lognormal
  from tensorflow_probability.python.distributions import mixture_same_family
  from tensorflow_probability.python.distributions import mvn_diag
  from tensorflow_probability.python.distributions import normal
  from tensorflow_probability.python.distributions import transformed_distribution
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import test_util
  from tensorflow_probability.python.sts.components.seasonal import ConstrainedSeasonalStateSpaceModel
  from tensorflow_probability.python.sts.components.seasonal import Seasonal
  from tensorflow_probability.python.sts.components.seasonal import SeasonalStateSpaceModel
label_desc: Use image node_id 4 for calling the SeasonalComponentResampleDriftScaleInputs obj's underlying member method code with example usage: obj.testDriftScalePriorRequiresInvertedSquaredBijector() without return types