code: def _unsetLearningMode(self):
      
      for region in self.TMRegions:
        region.setParameter("learn", False)
      super(L4TMExperiment, self)._unsetLearningMode()
docs: Unsets the learning mode, to start inference.