code: def get_inputs(fname, shapes, rng):
      if fname == "div2":
          denom = rng.randn(*shapes[1]).astype(np.float32)
          denom[np.abs(denom) < 0.5] = 0.5
          return [rng.randn(*shapes[0]).astype(np.float32), denom]
      if fname == "pow2":
          return [
              rng.rand(*shapes[0]).astype(np.float32) + 0.5,
              rng.randn(*shapes[1]).astype(np.float32),
          ]
      return [
          rng.randn(*shapes[i]).astype(np.float32) * 2 for i in range(2)
      ]
  
file_path: nnabla/python/test/function/test_transform_binary.py
imports: import pytest
  import numpy
  import nnabla
  import nnabla.functions
  from nbla_test_utils import function_tester, list_ctx_and_func_name
label_desc: Use image node_id 8 for calling a global function with example usage: get_inputs(fname, shapes, rng) and returns: unknown, list, list