Ray
Restores all local state to the provided state.
state
state – The new state to set this buffer. Can be obtained by calling self.get_state().
self.get_state()
DeveloperAPI: This API may change across minor Ray releases.