code: def assert_close_gamma_gaussian(actual, expected):
      assert isinstance(actual, GammaGaussian)
      assert isinstance(expected, GammaGaussian)
      assert actual.dim() == expected.dim()
      assert actual.batch_shape == expected.batch_shape
      assert_close(actual.log_normalizer, expected.log_normalizer)
      assert_close(actual.info_vec, expected.info_vec)
      assert_close(actual.precision, expected.precision)
      assert_close(actual.alpha, expected.alpha)
      assert_close(actual.beta, expected.beta)
  
imports: import torch
  import pyro.distributions
  from pyro.ops.gamma_gaussian import GammaGaussian
  from tests.common import assert_close
label_desc: Use image node_id 3 for calling a global function with example usage: assert_close_gamma_gaussian(actual, expected) without return types