Creates an input_fn that expects a serialized tf.Example fed into a string
placeholder. The function parses the tf.Example according to the provided
feature_spec, and returns all parsed Tensors as features. This input_fn is
for use at serving time, so the labels return value is always None.
Args
feature_spec
a dict of string to VarLenFeature/FixedLenFeature.
default_batch_size
the number of query examples expected per batch.
Leave unset for variable batch size (recommended).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.learn.build_parsing_serving_input_fn\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/learn/python/learn/utils/input_fn_utils.py#L67-L94) |\n\nBuild an input_fn appropriate for serving, expecting fed tf.Examples. (deprecated) \n\n tf.contrib.learn.build_parsing_serving_input_fn(\n feature_spec, default_batch_size=None\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Please use tf.estimator.export.build_parsing_serving_input_receiver_fn.\n\nCreates an input_fn that expects a serialized tf.Example fed into a string\nplaceholder. The function parses the tf.Example according to the provided\nfeature_spec, and returns all parsed Tensors as features. This input_fn is\nfor use at serving time, so the labels return value is always None.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|----------------------|-----------------------------------------------------------------------------------------------------|\n| `feature_spec` | a dict of string to `VarLenFeature`/`FixedLenFeature`. |\n| `default_batch_size` | the number of query examples expected per batch. Leave unset for variable batch size (recommended). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| An input_fn suitable for use in serving. ||\n\n\u003cbr /\u003e"]]