code: def transform_fwd(rv, expected_untransformed, model):
      return (
          model.rvs_to_transforms[rv]
          .forward(expected_untransformed, *rv.owner.inputs)
          .eval()
      )
  
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 1 for calling a global function with example usage: transform_fwd(rv, expected_untransformed, model) and returns: model