def __setstate__(self, state):
if not hasattr(self, '<STR_LIT>'):<EOL><INDENT>self.storeDenseOutput = False<EOL><DEDENT>if not hasattr(self, '<STR_LIT>'):<EOL><INDENT>self.computePredictedActiveCellIndices = False<EOL><DEDENT>self.__dict__.update(state)<EOL>self._loaded = True<EOL>self._initialize()<EOL>
Set the state of ourself from a serialized state.