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
6f91155b
Commit
6f91155b
authored
Aug 14, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Aug 14, 2020
Browse files
Use pure PY3 syntax
PiperOrigin-RevId: 326731205
parent
bd9c6c4e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
official/core/base_task.py
official/core/base_task.py
+1
-3
No files found.
official/core/base_task.py
View file @
6f91155b
...
@@ -19,14 +19,12 @@ import functools
...
@@ -19,14 +19,12 @@ import functools
from
typing
import
Any
,
Callable
,
Optional
from
typing
import
Any
,
Callable
,
Optional
from
absl
import
logging
from
absl
import
logging
import
six
import
tensorflow
as
tf
import
tensorflow
as
tf
from
official.modeling.hyperparams
import
config_definitions
as
cfg
from
official.modeling.hyperparams
import
config_definitions
as
cfg
@
six
.
add_metaclass
(
abc
.
ABCMeta
)
class
Task
(
tf
.
Module
,
metaclass
=
abc
.
ABCMeta
):
class
Task
(
tf
.
Module
):
"""A single-replica view of training procedure.
"""A single-replica view of training procedure.
Tasks provide artifacts for training/evalution procedures, including
Tasks provide artifacts for training/evalution procedures, including
...
...
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