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
f48d0c6f
Commit
f48d0c6f
authored
Sep 08, 2020
by
Hongkun Yu
Committed by
A. Unique TensorFlower
Sep 08, 2020
Browse files
Move registry utils to core.
PiperOrigin-RevId: 330583627
parent
693e53c4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
official/core/exp_factory.py
official/core/exp_factory.py
+1
-1
official/core/registry.py
official/core/registry.py
+0
-0
official/core/registry_test.py
official/core/registry_test.py
+1
-1
official/core/task_factory.py
official/core/task_factory.py
+1
-1
official/nlp/data/data_loader_factory.py
official/nlp/data/data_loader_factory.py
+1
-1
No files found.
official/core/exp_factory.py
View file @
f48d0c6f
...
...
@@ -15,8 +15,8 @@
# ==============================================================================
"""Experiment factory methods."""
from
official.core
import
registry
from
official.modeling.hyperparams
import
config_definitions
as
cfg
from
official.utils
import
registry
_REGISTERED_CONFIGS
=
{}
...
...
official/
utils
/registry.py
→
official/
core
/registry.py
View file @
f48d0c6f
File moved
official/
utils
/registry_test.py
→
official/
core
/registry_test.py
View file @
f48d0c6f
...
...
@@ -20,7 +20,7 @@ from __future__ import division
from
__future__
import
print_function
import
tensorflow
as
tf
from
official.
utils
import
registry
from
official.
core
import
registry
class
RegistryTest
(
tf
.
test
.
TestCase
):
...
...
official/core/task_factory.py
View file @
f48d0c6f
...
...
@@ -15,7 +15,7 @@
# ==============================================================================
"""A global factory to register and access all registered tasks."""
from
official.
utils
import
registry
from
official.
core
import
registry
_REGISTERED_TASK_CLS
=
{}
...
...
official/nlp/data/data_loader_factory.py
View file @
f48d0c6f
...
...
@@ -15,7 +15,7 @@
# ==============================================================================
"""A global factory to access NLP registered data loaders."""
from
official.
utils
import
registry
from
official.
core
import
registry
_REGISTERED_DATA_LOADER_CLS
=
{}
...
...
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