code: def test_docstring_example_3():
      def model_3():
          with pyro.plate("p", 5):
              a = pyro.sample("a", dist.Normal(0, 1))
          pyro.sample(
              "b", dist.Normal(a.sum(), 1), obs=torch.tensor(0.0)
          )
  
      actual = get_dependencies(model_3)
      expected = {
          "prior_dependencies": {
              "a": {"a": set()},
              "b": {"a": set(), "b": set()},
          },
          "posterior_dependencies": {
              "a": {"a": {"p"}, "b": set()},
          },
      }
      assert actual == expected
  
imports: import pytest
  import torch
  import pyro
  import pyro.distributions
  from pyro.distributions.testing.fakes import NonreparameterizedNormal
  from pyro.infer.inspect import _deep_merge, get_dependencies, get_model_relations
label_desc: Use image node_id 4 for calling a global function with example usage: test_docstring_example_3() without return types