code: def testPotentialCycle(self):
      graph1 = ops.Graph()
      with graph1.as_default():
          a = constant_op.constant(1.0, shape=[2, 2])
          b = constant_op.constant(2.0, shape=[2, 2])
          matmul = math_ops.matmul(a, b)
          with ops.name_scope("hidden1"):
              c = nn_ops.relu(matmul)
              d = constant_op.constant(3.0, shape=[2, 2])
              matmul = math_ops.matmul(c, d)
  
      orig_meta_graph, _ = meta_graph.export_scoped_meta_graph(
          export_scope="hidden1", graph=graph1
      )
  
      graph2 = ops.Graph()
      with graph2.as_default():
          with self.assertRaisesRegex(
              ValueError, "Graph contains unbound inputs"
          ):
              meta_graph.import_scoped_meta_graph(
                  orig_meta_graph, import_scope="new_hidden1"
              )
  
          meta_graph.import_scoped_meta_graph(
              orig_meta_graph,
              import_scope="new_hidden1",
              input_map={
                  "$unbound_inputs_MatMul": constant_op.constant(
                      4.0, shape=[2, 2]
                  )
              },
          )
  
imports: import math
  import os.path
  import random
  import shutil
  from tensorflow.core.framework import graph_pb2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.python.client import session
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import function
  from tensorflow.python.framework import meta_graph
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import cond
  from tensorflow.python.ops import data_flow_ops
  from tensorflow.python.ops import gradients_impl
  from tensorflow.python.ops import math_ops
  from tensorflow.python.ops import metrics
  from tensorflow.python.ops import nn_ops
  from tensorflow.python.ops import partitioned_variables
  from tensorflow.python.ops import random_ops
  from tensorflow.python.ops import resource_variable_ops
  from tensorflow.python.ops import variable_scope
  from tensorflow.python.ops import variables
  from tensorflow.python.ops import while_loop
  from tensorflow.python.platform import gfile
  from tensorflow.python.platform import test
  from tensorflow.python.training import queue_runner_impl
label_desc: Use image node_id 16 for calling the ScopedMetaGraphTest obj's underlying member method code with example usage: obj.testPotentialCycle() without return types