code: def _compare(
      a, b, encoding="utf8"
  ):  # type: (Text, Text, Text) -> bool
      if isinstance(a, bytes):
          a = a.decode(encoding)
      if isinstance(b, bytes):
          b = b.decode(encoding)
      return a == b
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from caffe import params
  import math
  import numpy
  from ._graph import Node, Graph
  from MyCaffe import Function
label_desc: Use image node_id 1 for calling a global function with example usage: _compare(a, b, encoding) and returns: unknown