File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -914,9 +914,10 @@ More details on how to create input functions can be find in `Building Input Fun
914
914
Creating a `` serving_input_fn``
915
915
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
916
916
917
- During training, `` train_input_fn`` ingests data and prepares it for use by the model.
918
- At the end of training, similarly, `` serving_input_fn`` is used to create the model that
919
- is exported for TensorFlow Serving. This function has the following purposes:
917
+ `` serving_input_fn`` is used to define the shapes and types of the inputs
918
+ the model accepts when the model is exported for Tensorflow Serving. `` serving_input_fn`` is called
919
+ at the end of model training and is not called during inference. (If you' d like to preprocess inference data,
920
+ please see `` input_fn`` ). This function has the following purposes:
920
921
921
922
- To add placeholders to the graph that the serving system will feed with inference requests.
922
923
- To add any additional ops needed to convert data from the input format into the feature Tensors
You can’t perform that action at this time.
0 commit comments