class_docstr: Constant initializer which always returns zeros.
  
  Examples
  --------
  
  >>> from river import optim
  
  >>> init = optim.initializers.Zeros()
  
  >>> init(shape=1)
  0.0
  
  >>> init(shape=2)
  array([0., 0.])
class_docstr_tok: ["Constant","initializer","which","always","returns","zeros",".","Examples","--","--","--","--",">",">",">","from","river","import","optim",">",">",">","init","=","optim.initializers.Zeros","(",")",">",">",">","init","(","shape=1",")","0.0",">",">",">","init","(","shape=2",")","array","(","[","0.",",","0",".","]",")"]
code: def __init__(self):
      super().__init__(value=0.0)
  
file_path: river/river/optim/initializers.py
imports: from __future__ import annotations
  import numpy
  from river.optim.base import Initializer
label_desc: Use image node_id 1 to create a new Zeros object from inherited base classes: Constant with example: obj = Zeros()