界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
开发与工程 · SKILL.md

meta-optimizer-api

meta-optimizer-api

【开发与工程】Route graph construction, unroll, save/load, and debugging work for MetaOptimizer.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: meta-optimizer-api description: "Route graph construction, unroll, save/load, and debugging work for MetaOptimizer." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Meta Optimizer API

Use this sub-skill when a task needs to build, inspect, unroll, save, load, or debug meta.MetaOptimizer, meta_loss, or meta_minimize.

Start here

Covered responsibilities

  • MetaOptimizer(**kwargs) network registry setup
  • meta_loss(make_loss, len_unroll, net_assignments=None, second_derivatives=False)
  • meta_minimize(make_loss, len_unroll, learning_rate=0.01, **kwargs)
  • MetaLoss and MetaStep field semantics
  • variable interception and optimizee-variable ordering
  • net_assignments rules, including exact names and overlapping mappings
  • .l2l save/load behavior for optimizer state

Route elsewhere

  • Optimizer network classes and preprocessing details -> optimizer-networks
  • Built-in/custom problem factories and dataset setup -> problem-factories
  • CLI train/eval loops and saved-optimizer workflows -> training-evaluation

Working rule of thumb

  1. Make make_loss pure graph construction.
  2. Match variable names exactly when assigning nets.
  3. Call reset before each new epoch or task.
  4. Call update after each unroll if the live optimizee state should advance.
  5. Use the smoke script before deeper debugging.
我的收藏