Agent skill · Backend & API

keras

Multi-backend deep learning library for building, training, running inference, and saving neural network models in Python.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill skills-skilldoai-skilldo-10 --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 11 KB
Bundled scripts: none
Version: 3.13.2
Path: skills/ai-ml/skills-skilldoai-skilldo-10/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Imports ```python import keras from keras import Model, layers ``` ## Core Patterns ### Run inference with `Model.predict()` ✅ Current ```python import os # Use a backend that is installed; here, "tensorflow" is most widely available. os.environ["KERAS_BACKEND"] = "tensorflow" # Keras 3 requires TensorFlow backend as an extra dependency for most environments. import tensorflow as tf import keras from keras import layers import numpy as np model = keras.Sequential( [ layers.Input(shape=(4,)), layers.Dense(8, activation="relu"), layers.Dense(3, activation="softmax"), ] ) x = np.random.RandomState(0).randn(5, 4).astype("float32") preds = model.predict(x, verbose=0) print(preds.shape) ``` * Use `keras.Model.predict(x)` for forward-pass inference on NumPy arrays (and other backend-compatible inputs). * Works with any supported backend; for OpenVINO, inference is the intended workflow. ### Save a model with `Model.save()` to the native `.keras` format ✅ Current ```python import os import tempfile # Use a backend that supports saving; here, "tensorflow" is most widely available. os.environ["KERAS_BACKEND"] = "tensorflow" import tensorflow as tf import keras from keras import layers imp

What's inside
Steps it walks through
  1. Imports
  2. Core Patterns
  3. Run inference with Model.predict() ✅ Current
  4. Save a model with Model.save() to the native .keras format ✅ Current
  5. Configure backend via environment before import ✅ Current
  6. OpenVINO backend for inference-only Model.predict() ✅ Current
  7. Configuration
  8. Pitfalls
  9. Wrong: Setting KERASBACKEND after importing keras
  10. Right: Set KERASBACKEND before importing keras
  11. Wrong: Trying to train on the OpenVINO backend (inference-only)
  12. Right: Use OpenVINO backend for Model.predict() only
  13. Wrong: Saving without an explicit .keras extension (ambiguous/legacy)
  14. Right: Save using the native .keras format
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the keras skill do?

Multi-backend deep learning library for building, training, running inference, and saving neural network models in Python.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill skills-skilldoai-skilldo-10 --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going