Expand description
MetaLearningOptimizer — production-quality meta-learning (learning to learn) optimization.
Implements MAML, Reptile, FOMAML, and ProtoNet for few-shot adaptation
of a linear regression model (y = w·x + b) over many tasks.
§Collision aliases (types already exported at crate root from other modules)
TaskId→MloTaskIdTaskExample→MloTaskExampleMetaTask→MloMetaTaskMetaError→MloMetaError
Structs§
- Adaptation
Step - Snapshot of the model state after one inner-loop gradient step.
- Meta
Learning Optimizer - A production-quality meta-learning optimizer.
- Meta
Stats - Accumulated statistics for the meta-learning optimizer.
- Meta
Task - A meta-learning task holding support and query sets.
- Model
Params - Linear model parameters:
y = w·x + b. - Optimizer
Config - Configuration for
MetaLearningOptimizer. - Task
Example - A single labeled example belonging to a specific task.
- TaskId
- A unique identifier for a meta-learning task.
Enums§
- Meta
Algorithm - The meta-learning algorithm variant.
- Meta
Error - Errors produced by
MetaLearningOptimizeroperations.