code: def test_sample_simple(three_var_approx):
      trace = three_var_approx.sample(100, return_inferencedata=False)
      assert set(trace.varnames) == {"one", "one_log__", "three", "two"}
      assert len(trace) == 100
      assert trace[0]["one"].shape == (10, 2)
      assert trace[0]["two"].shape == (10,)
      assert trace[0]["three"].shape == (10, 1, 2)
  
imports: import functools
  import numpy
  import pytensor.tensor
  import pytest
  import pymc
  from pymc.variational import opvi
  from pymc.variational.approximations import Empirical, EmpiricalGroup, FullRank, FullRankGroup, MeanField, MeanFieldGroup
  from tests.helpers import not_raises
label_desc: Use image node_id 12 for calling a global function with example usage: test_sample_simple(three_var_approx) without return types