code: def testIsValidConfigForBulkInferenceFailMoreThanOneInput(self):
      saved_model_proto = text_format.Parse(
          """
        saved_model_schema_version: 1
        meta_graphs {
          meta_info_def {
            tags: "serve"
          }
          signature_def: {
            key: "serving_default"
            value: {
              inputs: {
                key: "inputs"
                value {
                  dtype: DT_STRING
                  name: "input_node:0"
                }
              }
              method_name: "predict"
              outputs: {
                key: "outputs"
                value {
                  dtype: DT_FLOAT
                  tensor_shape {
                    dim { size: -1 }
                    dim { size: 100 }
                  }
                }
              }
            }
          }
        }
        """,
          saved_model_pb2.SavedModel(),
      )
      temp_dir = self.create_tempdir()
      temp_dir.create_file(
          "saved_model.pb",
          content=saved_model_proto.SerializeToString(),
      )
      eval_config = config_pb2.EvalConfig(
          model_specs=[
              config_pb2.ModelSpec(
                  name="model_1", signature_name="serving_default"
              )
          ]
      )
      eval_shared_model = self.createTestEvalSharedModel(
          eval_saved_model_path=temp_dir.full_path,
          model_name="model_1",
          model_type=constants.TF_GENERIC,
      )
      self.assertFalse(
          inference_base.is_valid_config_for_bulk_inference(
              eval_config, eval_shared_model
          )
      )
  
imports: import os
  import apache_beam
  from apache_beam.testing import util
  import numpy
  import tensorflow
  from tensorflow_model_analysis import constants
  from tensorflow_model_analysis.api import model_eval_lib
  from tensorflow_model_analysis.eval_saved_model import testutil
  from tensorflow_model_analysis.eval_saved_model.example_trainers import fixed_prediction_estimator_extra_fields
  from tensorflow_model_analysis.extractors import features_extractor
  from tensorflow_model_analysis.extractors import inference_base
  from tensorflow_model_analysis.extractors import tfx_bsl_predictions_extractor
  from tensorflow_model_analysis.proto import config_pb2
  from tfx_bsl.tfxio import tensor_adapter
  from tfx_bsl.tfxio import test_util
  from google.protobuf import text_format
  from tensorflow.core.protobuf import saved_model_pb2
  from tensorflow_metadata.proto.v0 import schema_pb2
  from tensorflow_serving.apis import logging_pb2
  from tensorflow_serving.apis import prediction_log_pb2
label_desc: Use image node_id 9 for calling the TfxBslPredictionsExtractorTest obj's underlying member method code with example usage: obj.testIsValidConfigForBulkInferenceFailMoreThanOneInput() without return types