class_docstr: Sets and restores internal gin state.
class_docstr_tok: ["Sets","and","restores","internal","gin","state","."]
code: def restore_state(self, state):
      with gin.unlock_config():
          gin.config.parse_config(state)
  
imports: import multiprocessing
  from typing import Text
  import cloudpickle
  import gin
  import gym
  from tf_agents.system.default import multiprocessing_core
  from tf_agents.system.default.multiprocessing_core import *
label_desc: Use image node_id 2 for calling the GinStateSaver obj's underlying member method code with example usage: obj.restore_state(state) without return types