code: def format_memory(memory, memory_unit="KB"):
      result = float(memory)
      if memory_unit == "GB":
          result /= 1024 * 1024 * 1024
      elif memory_unit == "MB":
          result /= 1024 * 1024
      elif memory_unit == "KB":
          result /= 1024
      return round(result, 2)
  
imports: import collections
  import os
  import sys
label_desc: Use image node_id 13 for calling a global function with example usage: format_memory(memory, memory_unit) and returns: round