code: def testMultipleCallsToEvalInputReceiver(self):
      graph = tf.Graph()
      with graph.as_default():
          features1 = {
              "apple": tf.constant(1.0),
              "banana": tf.constant(2.0),
          }
          labels1 = tf.constant(3.0)
          receiver_tensors1 = {
              "examples": tf.compat.v1.placeholder(tf.string)
          }
  
          features2 = {"cherry": tf.constant(3.0)}
          labels2 = {
              "alpha": tf.constant(4.0),
              "bravo": tf.constant(5.0),
          }
          receiver_tensors2 = {
              "examples": tf.compat.v1.placeholder(tf.string)
          }
  
          export.EvalInputReceiver(
              features=features1,
              labels=labels1,
              receiver_tensors=receiver_tensors1,
          )
  
          feature_keys_collection_name = encoding.with_suffix(
              encoding.FEATURES_COLLECTION, encoding.KEY_SUFFIX
          )
          feature_nodes_collection_name = encoding.with_suffix(
              encoding.FEATURES_COLLECTION, encoding.NODE_SUFFIX
          )
          label_keys_collection_name = encoding.with_suffix(
              encoding.LABELS_COLLECTION, encoding.KEY_SUFFIX
          )
          label_nodes_collection_name = encoding.with_suffix(
              encoding.LABELS_COLLECTION, encoding.NODE_SUFFIX
          )
  
          self.assertEqual(
              2,
              len(
                  tf.compat.v1.get_collection(
                      feature_keys_collection_name
                  )
              ),
          )
          self.assertEqual(
              2,
              len(
                  tf.compat.v1.get_collection(
                      feature_nodes_collection_name
                  )
              ),
          )
          self.assertEqual(
              1,
              len(
                  tf.compat.v1.get_collection(
                      label_keys_collection_name
                  )
              ),
          )
          self.assertEqual(
              1,
              len(
                  tf.compat.v1.get_collection(
                      label_nodes_collection_name
                  )
              ),
          )
          self.assertEqual(
              1,
              len(
                  tf.compat.v1.get_collection(
                      encoding.EXAMPLE_REF_COLLECTION
                  )
              ),
          )
          self.assertEqual(
              1,
              len(
                  tf.compat.v1.get_collection(
                      encoding.TFMA_VERSION_COLLECTION
                  )
              ),
          )
  
          # Call again with a different set of features, labels and receiver
          # tensors, check that the latest call overrides the earlier one.
          #
          # Note that we only check the lengths of some collections: more detailed
          # checks would require the test to include more knowledge about the
          # details of how exporting is done.
          export.EvalInputReceiver(
              features=features2,
              labels=labels2,
              receiver_tensors=receiver_tensors2,
          )
          self.assertEqual(
              1,
              len(
                  tf.compat.v1.get_collection(
                      feature_keys_collection_name
                  )
              ),
          )
          self.assertEqual(
              1,
              len(
                  tf.compat.v1.get_collection(
                      feature_nodes_collection_name
                  )
              ),
          )
          self.assertEqual(
              2,
              len(
                  tf.compat.v1.get_collection(
                      label_keys_collection_name
                  )
              ),
          )
          self.assertEqual(
              2,
              len(
                  tf.compat.v1.get_collection(
                      label_nodes_collection_name
                  )
              ),
          )
          self.assertEqual(
              1,
              len(
                  tf.compat.v1.get_collection(
                      encoding.EXAMPLE_REF_COLLECTION
                  )
              ),
          )
          self.assertEqual(
              1,
              len(
                  tf.compat.v1.get_collection(
                      encoding.TFMA_VERSION_COLLECTION
                  )
              ),
          )
  
imports: import tensorflow
  from tensorflow_model_analysis.eval_saved_model import encoding
  from tensorflow_model_analysis.eval_saved_model import export
  from tensorflow_model_analysis.eval_saved_model import testutil
label_desc: Use image node_id 2 for calling the ExportTest obj's underlying member method code with example usage: obj.testMultipleCallsToEvalInputReceiver() without return types