"test/git@developer.sourcefind.cn:change/sglang.git" did not exist on "ed2e313eb667708be3202e0719f9a5d4a48e0d59"
Commit f82ca018 authored by Chris Shallue's avatar Chris Shallue Committed by Christopher Shallue
Browse files

Fix a typo in _example_parser docstring.

PiperOrigin-RevId: 201878162
parent ddee8c74
...@@ -193,7 +193,7 @@ def build_dataset(file_pattern, ...@@ -193,7 +193,7 @@ def build_dataset(file_pattern,
table_initializer, default_value=-1) table_initializer, default_value=-1)
def _example_parser(serialized_example): def _example_parser(serialized_example):
"""Parses a single tf.Example into image and label tensors.""" """Parses a single tf.Example into feature and label tensors."""
# Set specifications for parsing the features. # Set specifications for parsing the features.
data_fields = { data_fields = {
feature_name: tf.FixedLenFeature([feature.length], tf.float32) feature_name: tf.FixedLenFeature([feature.length], tf.float32)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment