MCPcopy Create free account
hub / github.com/HazyResearch/spacetime / init_blocks

Method init_blocks

model/block.py:107–108  ·  view source on GitHub ↗
(self, config)

Source from the content-addressed store, hash-verified

105 self.blocks = self.init_blocks(config)
106
107 def init_blocks(self, config):
108 return ClosedLoopBlock(**config['blocks'][0])
109
110 def forward(self, x):
111 return self.blocks(x) # y, (u_next, u)

Callers 1

__init__Method · 0.95

Calls 1

ClosedLoopBlockClass · 0.85

Tested by

no test coverage detected