code: def test_predict_outputs_invalid(self):
      with self.assertRaisesRegex(
          ValueError, "Prediction output key must be a string"
      ):
          export_output_lib.PredictOutput(
              {1: constant_op.constant([0])}
          )
  
      with self.assertRaisesRegex(
          ValueError, "Prediction output value must be a Tensor"
      ):
          export_output_lib.PredictOutput(
              {
                  "prediction1": sparse_tensor.SparseTensor(
                      indices=[[0, 0]], values=[1], dense_shape=[1, 1]
                  ),
              }
          )
  
imports: from tensorflow.core.framework import tensor_shape_pb2
  from tensorflow.core.framework import types_pb2
  from tensorflow.core.protobuf import meta_graph_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 sparse_tensor
  from tensorflow.python.framework import tensor
  from tensorflow.python.ops import array_ops
  from tensorflow.python.ops import control_flow_ops
  from tensorflow.python.ops import metrics
  from tensorflow.python.ops import variables
  from tensorflow.python.platform import test
  from tensorflow.python.saved_model import signature_constants
  from tensorflow.python.saved_model.model_utils import export_output
label_desc: Use image node_id 10 for calling the ExportOutputTest obj's underlying member method code with example usage: obj.test_predict_outputs_invalid() without return types