Files
TinyTorch/modules/source/10_training/module.yaml
Vijay Janapa Reddi 56a9baefa9 refactor: Implement YAML-based difficulty and time system
- Added educational metadata (difficulty, time_estimate) to all module.yaml files
- Updated convert_readmes.py to read from YAML instead of hardcoded mappings
- Standardized difficulty progression: 🥷
- Fixed path resolution for YAML reading in book build process
- Eliminated duplication: single source of truth for educational metadata
- Capstone gets special ninja treatment (🥷) as beyond-expert level
2025-07-16 11:48:09 -04:00

32 lines
931 B
YAML

# TinyTorch Module Metadata
# Essential system information for CLI tools and build systems
name: "training"
title: "Training"
description: "Neural network training loops, loss functions, and metrics"
# Dependencies - Used by CLI for module ordering and prerequisites
dependencies:
prerequisites: ["setup", "tensor", "activations", "layers", "networks", "dataloader", "autograd", "optimizers"]
enables: ["compression", "kernels", "benchmarking", "mlops"]
# Package Export - What gets built into tinytorch package
exports_to: "tinytorch.core.training"
# File Structure - What files exist in this module
files:
dev_file: "training_dev.py"
readme: "README.md"
tests: "inline"
# Educational Metadata
difficulty: "⭐⭐⭐⭐"
time_estimate: "8-10 hours"
# Components - What's implemented in this module
components:
- "MeanSquaredError"
- "CrossEntropyLoss"
- "BinaryCrossEntropyLoss"
- "Accuracy"
- "Trainer"