code: def build_svi(model, guide, elbo):
      pyro.get_param_store().clear()
      adam = optim.Adam({"lr": 1e-6})
      return infer.SVI(model, guide, adam, elbo)
  
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 1 for calling a global function with example usage: build_svi(model, guide, elbo) and returns: infer