MCPcopy Create free account
hub / github.com/AI-Hypercomputer/maxtext / test_init

Method test_init

tests/moe_test.py:197–199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

195 )
196
197 def test_init(self):
198 x = jnp.array([1.0, 2.0]).reshape((1, 1, 2)) # TODO(bug): need reshape due to error
199 self.model.init({"params": self.rng, "dropout": self.rng}, x)
200
201
202class DeepSeekRoutingTest(unittest.TestCase):

Callers

nothing calls this directly

Calls 1

initMethod · 0.45

Tested by

no test coverage detected