"llm/git@developer.sourcefind.cn:OpenDAS/ollama.git" did not exist on "6c6a31a1e8f33b132388c71e562c07c2564f6dbe"
Commit f48d0c6f authored by Hongkun Yu's avatar Hongkun Yu Committed by A. Unique TensorFlower
Browse files

Move registry utils to core.

PiperOrigin-RevId: 330583627
parent 693e53c4
......@@ -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 = {}
......
......@@ -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):
......
......@@ -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 = {}
......
......@@ -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 = {}
......
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