src/orion/algo/tpe.py
def state_dict(self):
        """Return a state dict that can be used to reset the state of the algorithm."""
        _state_dict = super(TPE, self).state_dict

        _state_dict["rng_state"] = self.rng.get_state()
        _state_dict["seed"] = self.seed
        return _state_dict
Return a state dict that can be used to reset the state of the algorithm.
Return a state dict that can be used to reset the state of the algorithm.
Return a state dict that can be used to reset the state of the algorithm .
def state_dict(self):
        _state_dict = super(TPE, self).state_dict
        _state_dict["rng_state"] = self.rng.get_state()
        _state_dict["seed"] = self.seed
        return _state_dict
def state_dict ( self ) : _state_dict = super ( TPE , self ) . state_dict _state_dict [ "rng_state" ] = self . rng . get_state ( ) _state_dict [ "seed" ] = self . seed return _state_dict
Return a state dict that can be used to reset the state of the algorithm.
Return a state dict that can be used to reset the state of the algorithm .
"""Return a state dict that can be used to reset the state of the algorithm."""
self