Example #1
0
 def __getstate__(self):
     d = Serializable.__getstate__(self)
     d["params"] = self.get_param_values()
     return d
Example #2
0
 def __getstate__(self):
     d = Serializable.__getstate__(self)
     global load_params
     if load_params:
         d["params"] = self.get_param_values()
     return d
Example #3
0
 def __getstate__(self):
     d = Serializable.__getstate__(self)
     d["state"] = self.state
     return d
Example #4
0
 def __getstate__(self):
     d = Serializable.__getstate__(self)
     d["_obs_mean"] = self._obs_mean
     d["_obs_var"] = self._obs_var
     return d
Example #5
0
 def __getstate__(self):
     d = Serializable.__getstate__(self)
     d['_obs_mean'] = self._obs_mean
     d['_obs_var'] = self._obs_var
     return d