MCPcopy Create free account
hub / github.com/LargeWorldModel/LWM / create_trainstate_from_params

Function create_trainstate_from_params

lwm/train.py:141–142  ·  view source on GitHub ↗
(params)

Source from the content-addressed store, hash-verified

139 )
140
141 def create_trainstate_from_params(params):
142 return TrainState.create(params=params, tx=optimizer, apply_fn=None)
143
144 def init_fn(rng):
145 rng_generator = JaxRNG(rng)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected