code: def test_convert_from_frozen_graph(tmpdir):
      import tensorflow as tf
  
      with tf.Graph().as_default() as graph:
          x = tf.placeholder(tf.float32, shape=(1, 2, 3), name="input")
          y = tf.nn.relu(x, name="output")
  
      mlmodel = ct.convert(graph)
  
      test_input = np.random.rand(1, 2, 3) - 0.5
      with tf.compat.v1.Session(graph=graph) as sess:
          expected_val = sess.run(y, feed_dict={x: test_input})
      results = mlmodel.predict({"input": test_input})
      np.testing.assert_allclose(results["output"], expected_val)
  
imports: from os import getcwd, chdir
  from shutil import rmtree
  from os.path import exists
  from tempfile import mkdtemp
  import pytest
  import numpy
  import coremltools
  import os
  from coremltools._deps import _HAS_TF_1, _HAS_TF_2, _HAS_TORCH, MSG_TF1_NOT_FOUND, MSG_TF2_NOT_FOUND, MSG_TORCH_NOT_FOUND
label_desc: Use image node_id 1 for calling the TestTensorFlow1ConverterExamples obj's underlying member method code with example usage: obj.test_convert_from_frozen_graph(tmpdir) without return types