Files
TinyTorch/modules/source/03_layers/module.yaml
Vijay Janapa Reddi f1d47330b3 Simplify export workflow: remove module_paths.txt, use dynamic discovery
- Remove unnecessary module_paths.txt file for cleaner architecture
- Update export command to discover modules dynamically from modules/source/
- Simplify nbdev command to support --all and module-specific exports
- Use single source of truth: nbdev settings.ini for module paths
- Clean up import structure in setup module for proper nbdev export
- Maintain clean separation between module discovery and export logic

This implements a proper software engineering approach with:
- Single source of truth (settings.ini)
- Dynamic discovery (no hardcoded paths)
- Clean CLI interface (tito package nbdev --export [--all|module])
- Robust error handling with helpful feedback
2025-07-12 17:19:22 -04:00

26 lines
544 B
YAML

# TinyTorch Module Metadata
# Essential system information for CLI tools and build systems
name: "layers"
title: "Layers"
description: "Neural network layers (Linear, activation layers)"
# Dependencies
dependencies:
prerequisites: ["setup", "tensor", "activations"]
enables: ["networks", "training"]
# Package Export
exports_to: "tinytorch.core.layers"
# File Structure
files:
dev_file: "layers_dev.py"
test_file: "tests/test_layers.py"
readme: "README.md"
# Components
components:
- "Linear"
- "Activation"
- "Sequential"