MCPcopy Create free account
hub / github.com/apple/axlearn / _AdastarUpdateResult

Class _AdastarUpdateResult

axlearn/common/optimizers.py:1868–1872  ·  view source on GitHub ↗

Opaque container that is not traversed by jax.tree.map.

Source from the content-addressed store, hash-verified

1866 pps: Nested[_AdastarPerParamState] # pytype: disable=invalid-annotation
1867
1868 class _AdastarUpdateResult(flax_struct.PyTreeNode):
1869 """Opaque container that is not traversed by jax.tree.map."""
1870
1871 updates: Tensor # the update to apply to params.
1872 pps: _AdastarPerParamState # pytype: disable=invalid-annotation
1873
1874 update_schedule = schedule.as_schedule_fn(update_schedule)
1875

Callers 2

_raw_updatesFunction · 0.85
_smoothed_updatesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected