Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
ResNet50_tensorflow
Commits
f82ca018
Commit
f82ca018
authored
Jun 24, 2018
by
Chris Shallue
Committed by
Christopher Shallue
Jun 25, 2018
Browse files
Fix a typo in _example_parser docstring.
PiperOrigin-RevId: 201878162
parent
ddee8c74
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
research/astronet/astronet/ops/dataset_ops.py
research/astronet/astronet/ops/dataset_ops.py
+1
-1
No files found.
research/astronet/astronet/ops/dataset_ops.py
View file @
f82ca018
...
@@ -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
imag
e and label tensors."""
"""Parses a single tf.Example into
featur
e 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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment