code: def setActivations(self, value):
          
          #if self.verify and not self.activationSet == 0:
          #    raise LayerError, \
          #          ('Activation flag not reset. Activations may have been set multiple times without any intervening call to propagate().', self.activationSet)
          Numeric.put(self.activation, Numeric.arange(len(self.activation)), value)
          self.activationSet = 1
docs: Sets all activations to the value of the argument. Value should be in the range [0,1].