code: def __init__(self):
      self._prior_val = tfd.Exponential(0.0)
      self._evidence = 1.0
  
      def log_likelihood_fn(value):
          return tfd.Normal(value, 1.0).log_prob(self._evidence)
  
      self._log_likelihood_fn = log_likelihood_fn
  
      super(TestModel, self).__init__(
          default_event_space_bijector=tfb.Exp(),
          event_shape=self._prior_val.event_shape,
          dtype=self._prior_val.dtype,
          name="test_model",
          pretty_name="TestModel",
          sample_transformations=dict(
              identity=targets.Model.SampleTransformation(
                  fn=lambda x: x,
                  pretty_name="Identity",
              ),
          ),
      )
  
file_path: probability/spinoffs/inference_gym/inference_gym/targets/bayesian_model_test.py
imports: import tensorflow_probability
  from tensorflow_probability.python.internal import test_util
  from inference_gym import targets
  from inference_gym.internal import test_util
label_desc: Use image node_id 1 to create a new TestModel object from inherited base classes: targets with example: obj = TestModel()