Skip to content
Back to skills

Tensorflow

ASecurity

TensorFlow for production ML pipelines and deep learning

  • 47 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 12, 2026
devopspythongoapiperformance

Works with

  • cli
  • api

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add skeletorflet/opencode-supreme-setup --skill tensorflow --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tensorflow?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tensorflow
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/skeletorflet-tensorflow/badge)](https://www.skillsdirectory.com/skills/skeletorflet-tensorflow)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tensorflow
description: TensorFlow for production ML pipelines and deep learning
---

### Core Concepts
- **Keras API**: High-level `tf.keras.Sequential` and `Model` (Functional API) for model building
- **tf.data**: High-performance input pipeline with `Dataset.from_tensor_slices`, map, batch, prefetch
- **Eager Execution**: Imperative execution by default in TF2 with `tf.function` for graph compilation
- **SavedModel**: Universal serialization format for serving with `model.save("path")`
- **TF Serving**: gRPC/REST server for production model deployment with version management
- **TensorBoard**: Visualization toolkit via `tf.keras.callbacks.TensorBoard` logging

### Common Patterns
- `tf.keras.Sequential([layers.Dense(128, activation="relu"), layers.Dropout(0.2), layers.Dense(10, "softmax")])`
- `model.compile(optimizer="adam", loss="sparse_categorical_crossentropy", metrics=["accuracy"])`
- `model.fit(train_ds, validation_data=val_ds, epochs=10, callbacks=[early_stopping])`
- `tf.data.Dataset.from_tensor_slices((x, y)).batch(32).prefetch(tf.data.AUTOTUNE)`
- `@tf.function` decorator to trace and optimize Python functions into graphs
- Distribution strategy: `with MirroredStrategy().scope():` for multi-GPU training

### Best Practices
- Chain `.cache()`, `.shuffle()`, `.batch()`, `.prefetch()` for optimal input pipeline
- Use `tf.keras.mixed_precision.set_global_policy("mixed_float16")` for speedup
- Prefer `tf.keras.Model` subclassing for research, Functional API for production
- Validate SavedModel with `saved_model_cli show --dir exported/path`
- Set `TF_CPP_MIN_LOG_LEVEL=3` to suppress verbose INFO logs in production

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.