Die Oberfläche ist lokalisiert; Skill-Beschreibungen und -Dokumente werden per KI automatisch in Ihre Sprache übersetzt. Code, Befehle, Pfade und Fachbegriffe bleiben im Original, maßgeblich ist das Dokument des Autors.
Skills entdecken
Produktivität · SKILL.md

functional-transforms

functional-transforms

Use Sonnet's functional transform API for stateless-style modules, gradients, jit/device helpers, and functional optimizers.

Independent GitHub snapshot · Automated classification · Original documentation governs

Skill-Dokumentation

GitHub

name: functional-transforms description: "Use Sonnet's functional transform API for stateless-style modules, gradients, jit/device helpers, and functional optimizers." disable-model-invocation: true metadata: disco-role: operating license: Apache 2.0

Functional Transforms

Use this sub-skill for snt.functional.variables, transform, transform_with_state, without_state, grad, value_and_grad, jit, device_put, device_get, TensorVariable behavior, parameter/state dictionaries, and functional optimizers.

Start here

Boundaries

Minimal protocol

Create modules inside fn.variables(), wrap a function with fn.transform or fn.transform_with_state, call init before apply, carry returned params and state explicitly, and use fn.value_and_grad plus a functional optimizer when the task wants stateless-style updates.

Gespeicherte Skills