code: def setTargets(self, value):
          
          # Removed this because both propagate and backprop (via compute_error) set targets
          #if self.verify and not self.targetSet == 0:
          #    if not self.warningIssued:
          #        print 'Warning! Targets have already been set and no intervening backprop() was called.', \
          #              (self.name, self.targetSet)
          #        print "(Warning will not be issued again)"
          #        self.warningIssued = 1
          if value > self.maxActivation or value < self.minActivation:
              raise LayerError('Targets for this layer are out of the proper interval.', (self.name, value))
          Numeric.put(self.target, Numeric.arange(len(self.target)), value)
          self.targetSet = 1
docs: Sets all targets the the value of the argument. This value must be in the range [min,max].