code: def test_lnorm():
      G = scope
      choice = G.choice
      uniform = G.uniform
      quantized_uniform = G.quniform
  
      inker_size = quantized_uniform(low=0, high=7.99, q=2) + 3
      # -- test that it runs
      lnorm = as_apply(
          {
              "kwargs": {
                  "inker_shape": (inker_size, inker_size),
                  "outker_shape": (inker_size, inker_size),
                  "remove_mean": choice([0, 1]),
                  "stretch": uniform(low=0, high=10),
                  "threshold": uniform(
                      low=0.1 / np.sqrt(10), high=10 * np.sqrt(10)
                  ),
              }
          }
      )
      print(lnorm)
      print(("len", len(str(lnorm))))
  
file_path: hyperopt/hyperopt/pyll/tests/test_stochastic.py
imports: import numpy
  from hyperopt.pyll import scope, as_apply, rec_eval
  from hyperopt.pyll.stochastic import recursive_set_rng_kwarg, sample
label_desc: Use image node_id 2 for calling a global function with example usage: test_lnorm() without return types