code: def _compare_tf_coreml_outputs(self, tf_out, coreml_out):
      self.assertEquals(len(tf_out), len(coreml_out))
      error, ind = _compute_max_relative_error(coreml_out, tf_out)
      SNR, PSNR = _compute_SNR(coreml_out, tf_out)
      self.assertGreater(SNR, self.snr_thresh)
      self.assertGreater(PSNR, self.psnr_thresh)
      self.assertLess(error, self.err_thresh)
  
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 the CorrectnessTest obj's underlying member method code with example usage: obj._compare_tf_coreml_outputs(tf_out, coreml_out) without return types