MCPcopy Create free account
hub / github.com/Anoise/WTFlib / __init__

Method __init__

LDPS_Graph/exp/exp_basic.py:7–11  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

5
6class Exp_Basic(object):
7 def __init__(self, args):
8 self.args = args
9 self.device = self._acquire_device()
10 self.model = self._build_model().to(self.device)
11 self.root_path = args.root_path
12
13 def _build_model(self):
14 raise NotImplementedError

Callers

nothing calls this directly

Calls 2

_acquire_deviceMethod · 0.95
_build_modelMethod · 0.95

Tested by

no test coverage detected