class_docstr: An initializer is used to set initial weights in a model.
docstr: Returns a fresh set of weights.
  
  Parameters
  ----------
  shape
      Indicates how many weights to return. If `1`, then a single scalar value will be
      returned.
docstr_tok: ["Returns","a","fresh","set","of","weights",".","Parameters","--","--","--","--","--","shape","Indicates","how","many","weights","to","return",".","If","`","1","`",",","then","a","single","scalar","value","will","be","returned","."]
code: def __call__(self, shape=1):
      """Returns a fresh set of weights.
  
      Parameters
      ----------
      shape
          Indicates how many weights to return. If `1`, then a single scalar value will be
          returned.
  
      """
  
imports: from __future__ import annotations
  import abc
  import typing
  import numpy
  from river import base, optim, utils
label_desc: Use image node_id 1 for calling the Initializer obj's underlying member method code with example usage: obj.__call__(shape) without return types