MCPcopy Create free account
hub / github.com/google-research/language / setup

Method setup

language/mentionmemory/tasks/example_task.py:33–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 use_bias: bool = True
32
33 def setup(self):
34 self.layers = [
35 nn.Dense(feat, dtype=self.dtype, use_bias=self.use_bias)
36 for feat in self.features
37 ]
38
39 def __call__(self, batch, deterministic):
40 x = batch['x']

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected