Module: tf.compat.v1.saved_model.signature_def_utils

SignatureDef utility functions.

Utility functions for building and inspecting SignatureDef protos.

Classes

class MethodNameUpdater: Updates the method name(s) of the SavedModel stored in the given path.

Functions

build_signature_def(...): Utility function to build a SignatureDef protocol buffer.

classification_signature_def(...): Creates classification signature from given examples and predictions.

is_valid_signature(...): Determine whether a SignatureDef can be served by TensorFlow Serving.

predict_signature_def(...): Creates prediction signature from given inputs and outputs.

regression_signature_def(...): Creates regression signature from given examples and predictions.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.4/api_docs/python/tf/compat/v1/saved_model/signature_def_utils