Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/THUDM/CogDL
/ __init__
Method
__init__
examples/bgrl/train.py:32–36 ·
view source on GitHub ↗
(self, args)
Source
from the content-addressed store, hash-verified
30
class
ModelTrainer:
31
32
def
__init__(self, args):
33
self._args = args
34
35
self._init()
36
self.writer = SummaryWriter(log_dir=
"saved/BGRL_dataset({})"
.format(args.name))
37
38
def
_init(self):
39
args = self._args
Callers
nothing calls this directly
Calls
1
_init
Method · 0.95
Tested by
no test coverage detected