code: def test_grad_log_prob(posterior):
      """Test log probability against sampled model with no restriction."""
      y = random.uniform(0, 10)
      lp__ = gaussian_gradient(y, 0, 1)
      lp = posterior.grad_log_prob(unconstrained_parameters=[y])
      assert np.allclose(lp__, lp)
  
imports: import random
  import numpy
  import pytest
  import stan
label_desc: Use image node_id 3 for calling a global function with example usage: test_grad_log_prob(posterior) without return types