File size: 361 Bytes
079c32c
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
from .context import Context, OnlineRLContext, OfflineRLContext
from .task import Task, task, VoidMiddleware
from .parallel import Parallel
from .event_loop import EventLoop
from .supervisor import Supervisor
from easydict import EasyDict
from ding.utils import DistributedWriter


def ding_init(cfg: EasyDict):
    DistributedWriter.get_instance(cfg.exp_name)