'Class constructor.
Args:
val (float, optional): The value to assign to all tensor elements'

def __init__(self, val=0.0, name='constantInit'):

    super(Constant, self).__init__(name=name)
    self.val = val
