code: def object_to_base_64(obj):
      """Pickle and base64-encode an object."""
      pickled = pickle.dumps(obj)
      return base64.b64encode(pickled)
  
imports: from __future__ import absolute_import, unicode_literals
  import base64
  import hashlib
  import json
  import logging
  import os
  import pickle
  from builtins import str
  import numpy
  from atm.compat import getargs
label_desc: Use image node_id 5 for calling a global function with example usage: object_to_base_64(obj) and returns: base64