code: def testGetTensorFromInfoInScope(self):
      # Build a TensorInfo with name "bar/x:0".
      with ops.Graph().as_default():
          with ops.name_scope("bar"):
              unscoped = array_ops.placeholder(
                  dtypes.float32, 1, name="x"
              )
              tensor_info = utils.build_tensor_info(unscoped)
              self.assertEqual("bar/x:0", tensor_info.name)
      # Build a graph with node "foo/bar/x:0", akin to importing into scope foo.
      with ops.Graph().as_default():
          with ops.name_scope("foo"):
              with ops.name_scope("bar"):
                  expected = array_ops.placeholder(
                      dtypes.float32, 1, name="x"
                  )
          self.assertEqual("foo/bar/x:0", expected.name)
          # Test that tensor is found by prepending the import scope.
          actual = utils.get_tensor_from_tensor_info(
              tensor_info, import_scope="foo"
          )
          self.assertEqual(expected.name, actual.name)
  
imports: from tensorflow.core.framework import types_pb2
  from tensorflow.core.protobuf import struct_pb2
  from tensorflow.python.eager import context
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import sparse_tensor
  from tensorflow.python.framework import tensor
  from tensorflow.python.framework import test_util
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops.ragged import ragged_factory_ops
  from tensorflow.python.ops.ragged import ragged_tensor
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import nested_structure_coder
  from tensorflow.python.saved_model import utils
label_desc: Use image node_id 10 for calling the UtilsTest obj's underlying member method code with example usage: obj.testGetTensorFromInfoInScope() without return types