code: def setContext(self, value = .5):
          
          for context in list(self.contextLayers.values()):
              context.resetFlags() # hidden activations have already been copied in
              context.setActivations(value)
docs: Clears the context layer by setting context layer to (default) value 0.5.