code: def testInvalidClassificationSignaturesAreRejected(self):
      # CLASSIFY: wrong types
      self._assertInvalidSignature(
          {"inputs": _FLOAT},
          {"classes": _STRING, "scores": _FLOAT},
          signature_constants.CLASSIFY_METHOD_NAME,
      )
  
      self._assertInvalidSignature(
          {"inputs": _STRING},
          {"classes": _FLOAT, "scores": _FLOAT},
          signature_constants.CLASSIFY_METHOD_NAME,
      )
  
      self._assertInvalidSignature(
          {"inputs": _STRING},
          {"classes": _STRING, "scores": _STRING},
          signature_constants.CLASSIFY_METHOD_NAME,
      )
  
      # CLASSIFY: wrong keys
      self._assertInvalidSignature(
          {},
          {"classes": _STRING, "scores": _FLOAT},
          signature_constants.CLASSIFY_METHOD_NAME,
      )
  
      self._assertInvalidSignature(
          {"inputs_WRONG": _STRING},
          {"classes": _STRING, "scores": _FLOAT},
          signature_constants.CLASSIFY_METHOD_NAME,
      )
  
      self._assertInvalidSignature(
          {"inputs": _STRING},
          {"classes_WRONG": _STRING, "scores": _FLOAT},
          signature_constants.CLASSIFY_METHOD_NAME,
      )
  
      self._assertInvalidSignature(
          {"inputs": _STRING},
          {},
          signature_constants.CLASSIFY_METHOD_NAME,
      )
  
      self._assertInvalidSignature(
          {"inputs": _STRING},
          {
              "classes": _STRING,
              "scores": _FLOAT,
              "extra_WRONG": _STRING,
          },
          signature_constants.CLASSIFY_METHOD_NAME,
      )
  
imports: from tensorflow.core.framework import types_pb2
  from tensorflow.core.protobuf import meta_graph_pb2
  from tensorflow.python.framework import constant_op
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import math_ops
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import signature_constants
  from tensorflow.python.saved_model import signature_def_utils_impl
  from tensorflow.python.saved_model import utils
label_desc: Use image node_id 15 for calling the SignatureDefUtilsTest obj's underlying member method code with example usage: obj.testInvalidClassificationSignaturesAreRejected() without return types