| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e55f2e0 commit 2b3535c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -85,10 +85,9 @@ def build_parsing_serving_input_receiver_fn(feature_spec, | |||
| 85 | 85 | default_batch_size=None): | |
| 86 | 86 | """Build a serving_input_receiver_fn expecting fed tf.Examples. | |
| 87 | 87 | ||
| 88 | - Creates an input_fn that expects a serialized tf.Example fed into a string | ||
| 89 | - placeholder. The function parses the tf.Example according to the provided | ||
| 90 | - feature_spec, and returns all parsed Tensors as features. This input_fn is | ||
| 91 | - for use at serving time, so the labels return value is always None. | ||
| 88 | + Creates a serving_input_receiver_fn that expects a serialized tf.Example fed | ||
| 89 | + into a string placeholder. The function parses the tf.Example according to | ||
| 90 | + the provided feature_spec, and returns all parsed Tensors as features. | ||
| 92 | 91 | ||
| 93 | 92 | Args: | |
| 94 | 93 | feature_spec: a dict of string to `VarLenFeature`/`FixedLenFeature`. | |
| Back | FazBrowse Home | New Git URL |
0 commit comments