executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
training-and-optimizationTrain Sonnet modules with TensorFlow 2 GradientTape, Sonnet optimizers, metrics, and tiny local smoke loops.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill for TensorFlow 2 training loops around Sonnet modules. Sonnet provides modules, optimizers, and small metrics; it does not provide a Keras-style trainer, data pipeline, checkpoint manager, or distributed all-reduce policy.
tf.function loop recipes, metrics, and no-download data fixtures.None gradients, dtype/length mismatches, stale optimizer state, and stagnant loss.Run a first forward pass, collect model.trainable_variables, compute scalar loss under tf.GradientTape, call tape.gradient(loss, variables), then call optimizer.apply(gradients, variables).