mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-04-28 21:53:23 -05:00
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:
@@ -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()
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user