class_docstr: Initialize weights with constant value.
  
  Parameters
  ----------
   val : float
      Constant value for weights.
class_docstr_tok: ["Initialize","weights","with","constant","value",".","Parameters","--","--","--","--","--","val",":","float","Constant","value","for","weights","."]
code: def __init__(self, val=0.0):
      self.val = val
  
imports: import numpy
  from .utils import floatX
  from .random import get_rng
label_desc: Use image node_id 1 to create a new Constant object from inherited base classes: Initializer with example: obj = Constant(val)