code: def test_param_ok():
      x = pyro.param("x", torch.tensor(0.0))
      assert isinstance(x, torch.Tensor)
      assert x.shape == ()
  
file_path: pyro/tests/test_primitives.py
imports: import pytest
  import torch
  import pyro
  import pyro.distributions
label_desc: Use image node_id 3 for calling a global function with example usage: test_param_ok() without return types