code: def generate_value(type, dims, multiplier):
      if type == "Normal":
          ret = np.random.randn(*dims) * multiplier
      elif type == "Uniform":
          ret = np.random.uniform(-multiplier, multiplier, size=dims)
      elif type == "Constant":
          ret = np.ones(dims) * multiplier
      else:
          raise ValueError(
              'Generator type "' + type + '" is not supported.'
          )
      return ret.astype(np.float32)
  
file_path: nnabla/python/src/nnabla/utils/converter/nnablart/utils.py
imports: import collections
  from functools import partial
  import nnabla.utils.converter
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: generate_value(type, dims, multiplier) and returns: ret