def __setstate__(self, state): Serializable.__setstate__(self, state) self.set_weights(state["pickled_weights"])
def __setstate__(self, d): Serializable.__setstate__(self, d) self._obs_mean = d["_obs_mean"] self._obs_var = d["_obs_var"]