code: def create_conv_weight_bias(
      inp, maps=16, kernel=(3, 3), channel_last=False, name=""
  ):
      if channel_last:
          channels = inp.shape[-1]
          filter_shape = tuple(kernel) + (channels,)
      else:
          channels = inp.shape[1]
          filter_shape = (channels,) + tuple(kernel)
  
      w = get_parameter_or_create(
          "w-{}".format(name), (maps,) + filter_shape, None, True, True
      )
      b = get_parameter_or_create(
          "b-{}".format(name), (maps,), 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 3 for calling a global function with example usage: create_conv_weight_bias(inp, maps, kernel, channel_last, name) and returns: w,  b