L’interface est localisée ; les présentations et documents des Skills sont traduits automatiquement par IA dans votre langue. Le code, les commandes, chemins et termes techniques restent en version originale, et le document de l’auteur fait foi.
Explorer les Skills
Productivité · SKILL.md

optimization-building-blocks

optimization-building-blocks

Routes advanced keras-vis customization requests that combine custom losses, regularizers, Optimizer control, input or gradient modifiers, backprop modifiers, and callbacks.

Independent GitHub snapshot · Automated classification · Original documentation governs

Documentation de la Skill

GitHub

name: optimization-building-blocks description: "Routes advanced keras-vis customization requests that combine custom losses, regularizers, Optimizer control, input or gradient modifiers, backprop modifiers, and callbacks." disable-model-invocation: true metadata: disco-role: operating license: MIT

optimization-building-blocks

Use this sub-skill for low-level optimization pieces that sit underneath the higher-level activation and saliency flows.

Route away first

Stay here for

  • Writing custom Loss.build_loss() implementations.
  • Combining weighted loss tuples with Optimizer.
  • Choosing wrt_tensor, grad_modifier, input_modifiers, and callbacks.
  • Using ActivationMaximization, TotalVariation, LPNorm, Jitter, Print, GifGenerator, and gradient/backprop modifiers directly.
  • Debugging TensorFlow guided/rectified backprop overrides, graph mode, and optional callback dependencies.

Reference map

Guardrails

  • Optimizer.minimize() uses a fixed RMSProp-style loop with internal loss weighting; it only updates the input tensor itself.
  • When wrt_tensor is not the input tensor, treat the loop as a gradient probe and read grads / wrt_value.
  • verbose=True already adds the bundled Print callback.
  • TensorFlow backprop modifiers require graph mode and do not support advanced activations here.
  • GifGenerator needs both imageio and Pillow at runtime.
Skills enregistrées