MCPcopy Create free account
hub / github.com/BorealisAI/scaleformer / __init__

Method __init__

exp/exp_basic.py:26–29  ·  view source on GitHub ↗
(self, args)

Source from the content-addressed store, hash-verified

24
25class Exp_Basic(object):
26 def __init__(self, args):
27 self.args = args
28 self.device = self._acquire_device()
29 self.model = self._build_model().to(self.device)
30
31 def _build_model(self):
32 raise NotImplementedError

Callers

nothing calls this directly

Calls 2

_acquire_deviceMethod · 0.95
_build_modelMethod · 0.95

Tested by

no test coverage detected