Public API for tf._api.v2.saved_model namespace
Modules
builder module: Public API for tf._api.v2.saved_model.builder namespace
constants module: Public API for tf._api.v2.saved_model.constants namespace
experimental module: Public API for tf._api.v2.saved_model.experimental namespace
loader module: Public API for tf._api.v2.saved_model.loader namespace
main_op module: Public API for tf._api.v2.saved_model.main_op namespace
signature_constants module: Public API for tf._api.v2.saved_model.signature_constants namespace
signature_def_utils module: Public API for tf._api.v2.saved_model.signature_def_utils namespace
tag_constants module: Public API for tf._api.v2.saved_model.tag_constants namespace
utils module: Public API for tf._api.v2.saved_model.utils namespace
Classes
class Asset: Represents a file asset to hermetically include in a SavedModel.
class Builder: Builds the SavedModel protocol buffer and saves variables and assets.
class SaveOptions: Options for saving to SavedModel.
Functions
build_signature_def(...): Utility function to build a SignatureDef protocol buffer.
build_tensor_info(...): Utility function to build TensorInfo proto from a Tensor. (deprecated)
classification_signature_def(...): Creates classification signature from given examples and predictions.
contains_saved_model(...): Checks whether the provided export directory could contain a SavedModel.
get_tensor_from_tensor_info(...): Returns the Tensor or CompositeTensor described by a TensorInfo proto. (deprecated)
is_valid_signature(...): Determine whether a SignatureDef can be served by TensorFlow Serving.
load(...): Loads the model from a SavedModel as specified by tags. (deprecated)
load_v2(...): Load a SavedModel from export_dir.
main_op_with_restore(...): Returns a main op to init variables, tables and restore the graph. (deprecated)
maybe_saved_model_directory(...): Checks whether the provided export directory could contain a SavedModel.
predict_signature_def(...): Creates prediction signature from given inputs and outputs.
regression_signature_def(...): Creates regression signature from given examples and predictions.
save(...): Exports a tf.Module (and subclasses) obj to SavedModel format.
simple_save(...): Convenience function to build a SavedModel suitable for serving. (deprecated)