code: def _compute_max_relative_error(x, y):
      rerror = 0
      index = 0
      for i in range(len(x)):
          den = max(1.0, np.abs(x[i]), np.abs(y[i]))
          if np.abs(x[i] / den - y[i] / den) > rerror:
              rerror = np.abs(x[i] / den - y[i] / den)
              index = i
      return rerror, index
  
imports: import unittest
  import urllib
  import os
  import tarfile
  import zipfile
  import numpy
  import PIL.Image
  import tensorflow
  from tensorflow.core.framework import graph_pb2
  import tfcoreml
label_desc: Use image node_id 2 for calling a global function with example usage: _compute_max_relative_error(x, y) and returns: rerror,  index