def __init__(self, value=0.0): super(ConstantCritic, self).__init__() self.value = V(th.zeros(1, 1) + value)