sagemaker.serve.model_server.tensorflow_serving.prepare#
Module for artifacts preparation for tensorflow_serving
Functions
|
Prepares the model for serving. |
- sagemaker.serve.model_server.tensorflow_serving.prepare.prepare_for_tf_serving(model_path: str, shared_libs: List[str], dependencies: Dict[str, Any]) str[source]#
Prepares the model for serving.
- Parameters:
model_path (str) – Path to the model directory.
shared_libs (List[str]) – List of shared libraries.
dependencies (Dict[str, Any]) – Dictionary of dependencies.
- Returns:
Secret key.
- Return type:
str