MCPcopy Create free account
hub / github.com/cure-lab/LTSF-Linear / __init__

Method __init__

FEDformer/exp/exp_basic.py:7–10  ·  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
12 def _build_model(self):
13 raise NotImplementedError

Callers

nothing calls this directly

Calls 2

_acquire_deviceMethod · 0.95
_build_modelMethod · 0.95

Tested by

no test coverage detected