mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-01 16:57:21 -05:00
Simplify module.yaml and enhance export command with real export targets
- Remove redundant fields from module.yaml files: exports_to, files, components - Keep only essential system metadata: name, title, description, dependencies - Export command now reads actual export targets from dev files (#| default_exp directive) - Status command updated to use dev files as source of truth for export targets - Export command shows detailed source → target mapping for better clarity - Dependencies field retained as it's useful for CLI module ordering and prerequisites - Eliminates duplication between YAML and dev files - dev files are the real truth
This commit is contained in:
@@ -5,22 +5,7 @@ name: "tensor"
|
||||
title: "Tensor"
|
||||
description: "Core tensor data structure and operations"
|
||||
|
||||
# Dependencies
|
||||
# Dependencies - Used by CLI for module ordering and prerequisites
|
||||
dependencies:
|
||||
prerequisites: ["setup"]
|
||||
enables: ["activations", "layers", "autograd"]
|
||||
|
||||
# Package Export
|
||||
exports_to: "tinytorch.core.tensor"
|
||||
|
||||
# File Structure
|
||||
files:
|
||||
dev_file: "tensor_dev.py"
|
||||
test_file: "tests/test_tensor.py"
|
||||
readme: "README.md"
|
||||
|
||||
# Components
|
||||
components:
|
||||
- "Tensor"
|
||||
- "tensor_operations"
|
||||
- "shape_manipulation"
|
||||
enables: ["activations", "layers", "autograd"]
|
||||
Reference in New Issue
Block a user