fix: Use concise module titles instead of verbose ones

- Changed all module titles to be short and clean (e.g., 'Autograd' not 'Autograd - Automatic Differentiation')
- Updated metadata generation template to use concise titles by default
- Fixed CLI reference in metadata generator to use new hierarchical structure
- Titles are now consistent: just the module name capitalized
- Detailed descriptions remain in the description field where they belong
This commit is contained in:
Vijay Janapa Reddi
2025-07-11 22:40:30 -04:00
parent 19bb551004
commit c5f7a10d5c
6 changed files with 7 additions and 7 deletions

View File

@@ -18,7 +18,7 @@ def generate_metadata_template(module_name: str, interactive: bool = False) -> s
# Default values
defaults = {
'name': module_name,
'title': f"{module_name.title()} - Brief Description",
'title': module_name.title(), # Just the module name, capitalized
'description': f"Implement {module_name} functionality for TinyTorch",
'version': "1.0.0",
'author': "TinyTorch Team",
@@ -176,7 +176,7 @@ def main():
print(f"✅ Generated metadata template: {output_path}")
print(f"📝 Please edit the file to customize the metadata for your module")
print(f"🧪 Test with: python bin/tito status --metadata")
print(f"🧪 Test with: python bin/tito module status --metadata")
if __name__ == "__main__":
main()

View File

@@ -3,7 +3,7 @@
# Basic Information
name: "activations"
title: "Activations - Mathematical Functions for Neural Networks"
title: "Activations"
description: "Implement the mathematical functions that give neural networks their power to learn complex patterns"
version: "1.0.0"
author: "TinyTorch Team"

View File

@@ -3,7 +3,7 @@
# Basic Information
name: "autograd"
title: "Autograd - Automatic Differentiation"
title: "Autograd"
description: "Implement automatic differentiation for neural network training - the engine that makes backpropagation possible"
version: "0.1.0"
author: "TinyTorch Team"

View File

@@ -3,7 +3,7 @@
# Basic Information
name: "layers"
title: "Layers - Neural Network Building Blocks"
title: "Layers"
description: "Build the fundamental transformations that compose into neural networks - Dense layers and activation functions"
version: "1.0.0"
author: "TinyTorch Team"

View File

@@ -3,7 +3,7 @@
# Basic Information
name: "setup"
title: "Setup - TinyTorch Development Workflow"
title: "Setup"
description: "Learn the complete TinyTorch development workflow while introducing fundamental programming concepts"
version: "1.0.0"
author: "TinyTorch Team"

View File

@@ -3,7 +3,7 @@
# Basic Information
name: "tensor"
title: "Tensor - Core Data Structure"
title: "Tensor"
description: "Implement the fundamental data structure that powers all ML systems - N-dimensional arrays with ML-specific operations"
version: "1.0.0"
author: "TinyTorch Team"