documentation error
Under section "Creating a serving_input_fn", the documentation claims:
"At the end of training, similarly, serving_input_fn is used to create the model that is exported for TensorFlow Serving."
Is this accurate? Based on my understanding: I dont think serving_input_fn() is used to create the model. This is also inconsistent with its role described a few lines afterwards.
Hi @pratapram,
I think you're correct. Just like the TensorFlow docs, it should say:
At serving time, similarly, a serving_input_receiver_fn() accepts inference requests and prepares them for the model.
I'll send a PR for this. Thanks!
thanks @andremoeller for the quick response. The new function you mention serving_input_receiver_fn() is not referenced anywhere else. So, if you can point a link to that documentation that would be very helpful.
Hi @pratapram,
serving_input_fn is the relevant SageMaker Python SDK function rather than serving_input_receiver_fn. Just to clarify, the PR changes the docs to read:
At the end of training, similarly,
serving_input_fnaccepts inference requests and is exported for TensorFlow Serving.