Module: tf.compat.v1.saved_model.signature_def_utils

TensorFlow 1 version

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.