code: def test_multiply_divide():
      X = Uniform(0, 1).rv  # (0, 1)
      X *= 4  # (0, 4)
      X /= 2  # (0, 2)
      x = X.dist.sample([N_SAMPLES])
      assert ((0 <= x) & (x <= 2)).all().item()
  
file_path: pyro/tests/contrib/randomvariable/test_random_variable.py
imports: import math
  import torch
  from pyro.distributions import Uniform
label_desc: Use image node_id 3 for calling a global function with example usage: test_multiply_divide() without return types