code: def computeOutput(self):
  
      
  
      # todo: This operation can be sped up by:
      #  1.)  Pre-allocating space for the currentOutput
      #  2.)  Making predictedState and activeState of type 'float32' up front
      #  3.)  Using logical_or(self.predictedState['t'], self.activeState['t'],
      #          self.currentOutput)
      #
      self.currentOutput = \
          logical_or(self.predictedState['t'], self.activeState['t'])
  
      return self.currentOutput.reshape(-1).astype('float32')
docs: Computes output for both learning and inference. In both cases, the
      output is the boolean OR of activeState and predictedState at t.
      Stores currentOutput for checkPrediction.