class_docstr: Simple QFunction for testing.
  
  Args:
      env_spec (garage.envs.env_spec.EnvSpec): Environment specification.
      name (str): Name of the q-function, also serves as the variable scope.
docstr: Object.__getstate__.
  
  Returns:
      dict: the state to be pickled for the instance.
code: def __getstate__(self):
      """Object.__getstate__.
  
      Returns:
          dict: the state to be pickled for the instance.
  
      """
      new_dict = super().__getstate__()
      del new_dict["_q_val"]
      return new_dict
  
file_path: garage/tests/fixtures/q_functions/simple_q_function.py
imports: import tensorflow
  from tests.fixtures.models import SimpleMLPModel
label_desc: Use image node_id 5 for calling the SimpleQFunction obj's underlying member method code with example usage: obj.__getstate__() and returns: new_dict