code: def create_affine_weight_bias(inp, n_outmaps=10, name=""):
      w = get_parameter_or_create(
          "w-{}".format(name),
          [int(np.prod(inp.shape[1:]))] + [n_outmaps],
          None,
          True,
          True,
      )
      b = get_parameter_or_create(
          "b-{}".format(name), (n_outmaps,), None, True, True
      )
  
      return w, b
  
file_path: nnabla/python/test/utils/test_graph_converters/ref_graphs/helper.py
imports: from __future__ import absolute_import
  import numpy
  import nnabla
  from nnabla.parameter import get_parameter_or_create
label_desc: Use image node_id 4 for calling a global function with example usage: create_affine_weight_bias(inp, n_outmaps, name) and returns: w,  b