code: def test_nonempty_model_empty_guide_ok(backend, jit):
      def model(data):
          loc = pyro.param("loc", torch.tensor(0.0))
          pyro.sample("x", dist.Normal(loc, 1.0), obs=data)
  
      def guide(data):
          pass
  
      data = torch.tensor(2.0)
      with pyro_backend(backend):
          Elbo = infer.JitTrace_ELBO if jit else infer.Trace_ELBO
          elbo = Elbo(ignore_jit_warnings=True)
          steps = 2
          assert_ok(model, guide, elbo, steps, data)
  
imports: import warnings
  import pytest
  import torch
  from pytest import approx
  from torch.distributions import constraints
  from pyro.generic import distributions
  from pyro.generic import infer, ops, optim, pyro, pyro_backend
  from tests.common import assert_close, xfail_param
label_desc: Use image node_id 9 for calling a global function with example usage: test_nonempty_model_empty_guide_ok(backend, jit) without return types