docstr: Tests that no errors are raised when provided outputs are valid.
docstr_tok: ["Tests","that","no","errors","are","raised","when","provided","outputs","are","valid","."]
code: def test_supervised_outputs_no_prepend(self):
      """Tests that no errors are raised when provided outputs are valid."""
      with context.graph_mode():
          loss = {"loss": constant_op.constant([0])}
          predictions = {"predictions": constant_op.constant(["foo"])}
          mean, update_op = metrics_module.mean_tensor(
              constant_op.constant([0])
          )
          metrics = {
              "metrics_1": (mean, update_op),
              "metrics_2": (
                  constant_op.constant([0]),
                  constant_op.constant([10]),
              ),
          }
  
          outputter = MockSupervisedOutput(loss, predictions, metrics)
          self.assertEqual(set(outputter.loss.keys()), set(["loss"]))
          self.assertEqual(
              set(outputter.predictions.keys()), set(["predictions"])
          )
          self.assertEqual(
              set(outputter.metrics.keys()),
              set(
                  [
                      "metrics_1/value",
                      "metrics_1/update_op",
                      "metrics_2/update_op",
                      "metrics_2/value",
                  ]
              ),
          )
  
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 5 for calling the SupervisedOutputTest obj's underlying member method code with example usage: obj.test_supervised_outputs_no_prepend() without return types