Skip to content
Back to skills

Training And Cli

ASecurity

Routes TensorLayer training loops, evaluation helpers, and CLI workflows.

  • 247 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 9, 2026
toolspythonapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 9, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill training-and-cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Training And Cli?

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

Security grade badge for Training And Cli
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-training-and-cli-0bfc2951/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-training-and-cli-0bfc2951)

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: training-and-cli
description: "Routes TensorLayer training loops, evaluation helpers, and CLI workflows."
disable-model-invocation: true
metadata:
  disco-role: operating
license: NOASSERTION
---

# Training and CLI

Use this sub-skill for TensorLayer supervised training loops, evaluation helpers, CLI help, and distributed-trainer entry points. This is the route for `fit`, `test`, `predict`, and `tl train` style tasks.

## Typical requests

- Run a tiny TensorLayer training loop.
- Check `tl.utils.fit`, `tl.utils.test`, or `tl.utils.predict` usage.
- Inspect the `tensorlayer.cli` entry point or `build_arg_parser` behavior.
- Understand how `tl train` or the distributed trainer is wired.

## Read first

- `references/cli-reference.md` for the CLI and utility API surface.
- `references/workflows.md` for a tiny synthetic fit/test/predict loop.
- `references/troubleshooting.md` for CLI, dataset, and distributed-training failures.

## Bundled checks

- `scripts/smoke_fit.py` runs a small synthetic classification problem through `tl.utils.fit`, `tl.utils.test`, and `tl.utils.predict`.
- Root `scripts/check_cli_help.py` verifies `python -m tensorlayer.cli --help` without the empty-`CUDA_VISIBLE_DEVICES` bug.

## Boundaries

Include here:
- `tensorlayer.utils`
- `tensorlayer.cli`
- `tensorlayer.distributed`
- fit/test/predict and evaluation helpers
- training-loop and parser behavior

Exclude or route elsewhere:
- layer/model architecture details -> `core-modeling`
- preprocessing and TFRecord helpers -> `data-and-utilities`
- pretrained vision model constructors -> `vision-and-apps`
- text, seq2seq, and NLP helpers -> `text-and-sequence`
- reward utilities and RL examples -> `reinforcement-learning`

## Fast path

1. Check whether the task is about a training loop, evaluation helper, or CLI parser.
2. Use synthetic data first; do not depend on MNIST/CIFAR downloads for a smoke.
3. Treat distributed execution as help-only unless the user explicitly requests a Horovod/OpenMPI environment.

Files in this skill

  • SKILL.md2 KB
  • references/cli-reference.md1.3 KB
  • references/troubleshooting.md1.2 KB
  • references/workflows.md825 B
  • scripts/smoke_fit.py2.1 KB

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.