docstr: Save to byte string
  :param session: active session
  :return: serialized byte string
docstr_tok: ["Save","to","byte","string",":","param","session",":","active","session",":","return",":","serialized","byte","string"]
code: def to_string(self, session: Any) -> str:
      """
      Save to byte string
      :param session: active session
      :return: serialized byte string
      """
      return pickle.dumps(self.to_arrays(session), protocol=-1)
  
file_path: coach/rl_coach/architectures/tensorflow_components/savers.py
imports: import pickle
  from typing import Any, List, Dict
  import tensorflow
  import numpy
  from rl_coach.saver import Saver
label_desc: Use image node_id 6 for calling the GlobalVariableSaver obj's underlying member method code with example usage: obj.to_string(session) and returns: pickle