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
a3b666b4
Commit
a3b666b4
authored
Jun 28, 2022
by
Fan Yang
Committed by
A. Unique TensorFlower
Jun 28, 2022
Browse files
Internal change
PiperOrigin-RevId: 457843445
parent
f101b11a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
official/vision/dataloaders/classification_input.py
official/vision/dataloaders/classification_input.py
+5
-0
No files found.
official/vision/dataloaders/classification_input.py
View file @
a3b666b4
...
...
@@ -254,6 +254,11 @@ class Parser(parser.Parser):
return
image
def
parse_train_image
(
self
,
decoded_tensors
:
Dict
[
str
,
tf
.
Tensor
])
->
tf
.
Tensor
:
"""Public interface for parsing image data for training."""
return
self
.
_parse_train_image
(
decoded_tensors
)
@
classmethod
def
inference_fn
(
cls
,
image
:
tf
.
Tensor
,
...
...
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