code: def testMatchingTensorInfoProtoMaps(self):
      with tf.compat.v1.Graph().as_default():
          sig1 = _make_signature(
              {
                  "x": tf.compat.v1.placeholder(tf.int32, [2]),
              },
              {
                  "x": tf.compat.v1.placeholder(tf.int32, [2]),
              },
          )
  
          sig2 = _make_signature(
              {
                  "x": tf.compat.v1.placeholder(tf.int32, [2]),
              },
              {
                  "x": tf.compat.v1.sparse_placeholder(tf.int64, [2]),
              },
          )
          self.assertTrue(
              tensor_info.tensor_info_proto_maps_match(
                  sig1.inputs, sig2.inputs
              )
          )
          self.assertFalse(
              tensor_info.tensor_info_proto_maps_match(
                  sig1.outputs, sig2.outputs
              )
          )
  
          sig3 = _make_signature(
              {
                  "x": tf.compat.v1.placeholder(tf.int32, [None]),
              },
              {
                  "x": tf.compat.v1.placeholder(tf.int32, [2]),
              },
          )
          self.assertFalse(
              tensor_info.tensor_info_proto_maps_match(
                  sig1.inputs, sig3.inputs
              )
          )
          self.assertTrue(
              tensor_info.tensor_info_proto_maps_match(
                  sig1.outputs, sig3.outputs
              )
          )
  
file_path: hub/tensorflow_hub/tensor_info_test.py
imports: import tensorflow
  from tensorflow_hub import tensor_info
label_desc: Use image node_id 3 for calling the TensorInfoTest obj's underlying member method code with example usage: obj.testMatchingTensorInfoProtoMaps() without return types