Adds region tag for serving input function; new PR to address CLA error
@@ -204,7 +204,7 @@ def csv_serving_input_fn():
features.pop(LABEL_COLUMN)
return tf.contrib.learn.InputFnOps(features, None, {'csv_row': csv_row})
-
+# [START serving-function]
def example_serving_input_fn():
"""Build the serving inputs."""
example_bytestring = tf.placeholder(
@@ -224,7 +224,7 @@ def example_serving_input_fn():
None, # labels
{'example_proto': example_bytestring}
)
-
+# [END serving-function]
def json_serving_input_fn():
"""Build the serving inputs."""
