code: def testBuildTensorInfoDense(self):
      x = array_ops.placeholder(dtypes.float32, 1, name="x")
      x_tensor_info = utils.build_tensor_info(x)
      self.assertEqual("x:0", x_tensor_info.name)
      self.assertEqual(types_pb2.DT_FLOAT, x_tensor_info.dtype)
      self.assertEqual(1, len(x_tensor_info.tensor_shape.dim))
      self.assertEqual(1, x_tensor_info.tensor_shape.dim[0].size)
  
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 2 for calling the UtilsTest obj's underlying member method code with example usage: obj.testBuildTensorInfoDense() without return types