code: def to_byte(string):
      """convert byte to string in pytohn2/3"""
      return string.encode()
  
file_path: PARL/parl/utils/utils.py
imports: import os
  import subprocess
  import sys
  import multiprocessing
  import numpy
  from parl.utils import logger
label_desc: Use image node_id 3 for calling a global function with example usage: to_byte(string) and returns: string