code: def decode(param):
      """Decodes the given param when it is bytes."""
  
      if isinstance(param, (float, int)):
          return param
      return param.decode("utf-8")
  
file_path: adanet/adanet/core/report_materializer_test.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from absl.testing import parameterized
  from adanet import subnetwork
  from adanet import tf_compat
  from adanet.core.report_materializer import ReportMaterializer
  import adanet.core.testing_utils
  import tensorflow.compat.v2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import test_util
label_desc: Use image node_id 1 for calling a global function with example usage: decode(param) and returns: param, param