class_docstr: Link with specific parameters.
class_docstr_tok: ["Link","with","specific","parameters","."]
code: def from_param_props(shapes, dtypes=numpy.float32):
      # Creates a ParameterLink from the given parameter properties.
      assert isinstance(shapes, (tuple, list))
      assert all(isinstance(s, tuple) for s in shapes)
  
      n_params = len(shapes)
  
      if not isinstance(dtypes, (tuple, list)):
          dtypes = (dtypes,) * n_params
  
      arrs = [
          numpy.random.uniform(-3, 3, shape).astype(dtype)
          for shape, dtype in zip(shapes, dtypes)
      ]
      grads = [
          numpy.random.uniform(-3, 3, shape).astype(dtype)
          for shape, dtype in zip(shapes, dtypes)
      ]
  
      params = []
      for arr, grad in zip(arrs, grads):
          param = chainer.Parameter(arr)
          param.grad = grad
          params.append(param)
  
      return ParametersLink(params)
  
imports: import numpy
  import chainer
label_desc: Use image node_id 2 for calling the ParametersLink obj's underlying member method code with example usage: obj.from_param_props(shapes, dtypes) and returns: ParametersLink