Files
TinyTorch/modules/source/02_tensor/module.yaml
Vijay Janapa Reddi 507cdf50f5 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

31 lines
778 B
YAML

# TinyTorch Module Metadata
# Essential system information for CLI tools and build systems
name: "tensor"
title: "Tensor"
description: "Core tensor data structure and operations"
# Dependencies - Used by CLI for module ordering and prerequisites
dependencies:
prerequisites: ["setup"]
enables: ["activations", "layers", "autograd"]
# Package Export - What gets built into tinytorch package
exports_to: "tinytorch.core.tensor"
# File Structure - What files exist in this module
files:
dev_file: "tensor_dev.py"
readme: "README.md"
tests: "inline"
# Educational Metadata
difficulty: "⭐⭐"
time_estimate: "4-6 hours"
# Components - What's implemented in this module
components:
- "Tensor"
- "tensor_creation"
- "tensor_operations"
- "tensor_arithmetic"