code: def test_initval_resizing(self):
      with pm.Model() as pmodel:
          data = pytensor.shared(np.arange(4))
          rv = pm.Uniform("u", lower=data, upper=10, initval="prior")
  
          ip = pmodel.initial_point(random_seed=0)
          assert np.shape(ip["u_interval__"]) == (4,)
  
          data.set_value(np.arange(5))
          ip = pmodel.initial_point(random_seed=0)
          assert np.shape(ip["u_interval__"]) == (5,)
      pass
  
imports: import cloudpickle
  import numpy
  import pytensor
  import pytensor.tensor
  import pytest
  from pytensor.tensor.random.op import RandomVariable
  import pymc
  from pymc.distributions.distribution import moment
  from pymc.initial_point import make_initial_point_fn, make_initial_point_fns_per_chain
label_desc: Use image node_id 4 for calling the TestInitvalEvaluation obj's underlying member method code with example usage: obj.test_initval_resizing() without return types