(self, val=0.0, name="constantInit")
Class constructor.

        Args:
            val (float, optional): The value to assign to all tensor elements
Class constructor.
Class constructor .
def __init__(self, val=0.0, name="constantInit"):
        """
        Class constructor.

        Args:
            val (float, optional): The value to assign to all tensor elements
        """
        super(Constant, self).__init__(name=name)
        self.val = val
def __init__ ( self , val = 0.0 , name = "constantInit" ) : super ( Constant , self ) . __init__ ( name = name ) self . val = val