1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-07 04:50:56 +08:00

add register ops config

This commit is contained in:
bxdd
2021-01-20 18:44:53 +09:00
parent 3dda2cb379
commit 6daaa79519
4 changed files with 119 additions and 21 deletions

View File

@@ -783,10 +783,12 @@ def set_config(config_c, default_conf="client", **kwargs):
def config_based_on_c(config_c):
from ..data.ops import register_custom_ops
from ..data.data import register_all_wrappers
from ..workflow import R, QlibRecorder
from ..workflow.utils import experiment_exit_handler
register_custom_ops(config_c)
register_all_wrappers(config_c)
# set up QlibRecorder
exp_manager = init_instance_by_config(config_c["exp_manager"])