File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -906,8 +906,10 @@ Creating a ``serving_input_fn``
906
906
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
907
907
908
908
During training, `` train_input_fn`` ingests data and prepares it for use by the model.
909
- At the end of training, similarly, `` serving_input_fn`` is used to create the model that
910
- is exported for TensorFlow Serving. This function has the following purposes:
909
+ `` serving_input_fn`` is used to define the shapes and types of the inputs
910
+ the model accepts when the model is exported for Tensorflow Serving. `` serving_input_fn`` is called
911
+ at the end of model training and is not called during inference. (If you' d like to preprocess inference data,
912
+ please see `` input_fn`` ). This function has the following purposes:
911
913
912
914
- To add placeholders to the graph that the serving system will feed with inference requests.
913
915
- 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