Updates markdown headers in development files

Updates markdown headers in development files to improve consistency and readability.

Removes the redundant "🔧 DEVELOPMENT" headers and standardizes the subsequent headers to indicate the purpose of the following code, such as "🧪 Test Your Matrix Multiplication". This change enhances the clarity and organization of the development files.
This commit is contained in:
Vijay Janapa Reddi
2025-07-20 17:36:32 -04:00
parent cea9118b0a
commit c33f62ca79
8 changed files with 5 additions and 17 deletions

View File

@@ -237,8 +237,6 @@ def matmul(A: np.ndarray, B: np.ndarray) -> np.ndarray:
# %% [markdown]
"""
## 🔧 DEVELOPMENT
### 🧪 Test Your Matrix Multiplication
Once you implement the `matmul` function above, run this cell to test it:
@@ -631,7 +629,7 @@ It ensures that the 'Layer' abstraction works correctly with the 'Tensor' class
"""
# %%
def test_module_layer_tensor():
def test_module_layer_tensor_integration():
"""
Tests that a Tensor can be passed through a Layer subclass
and that the output is of the correct type and shape.
@@ -658,7 +656,7 @@ def test_module_layer_tensor():
print("✅ Integration Test Passed: Layer correctly processed Tensor.")
# Run the integration test
test_module_layer_tensor()
test_module_layer_tensor_integration()
# %% [markdown]
"""

View File

@@ -578,7 +578,9 @@ plot_network_architectures()
# %% [markdown]
"""
## 🔧 DEVELOPMENT
### 🧪 Unit Test: Network Architecture Variations
This test validates different neural network architectures created with various activation functions. It ensures that networks with ReLU, Tanh, and Softmax activations work correctly, and tests both shallow and deep network configurations for comprehensive architecture validation.
"""
# %%

View File

@@ -243,8 +243,6 @@ def scaled_dot_product_attention(Q: Tensor, K: Tensor, V: Tensor,
# %% [markdown]
"""
## 🔧 DEVELOPMENT
### 🧪 Test Your Attention Implementation
Once you implement the `scaled_dot_product_attention` function above, run this cell to test it:

View File

@@ -310,8 +310,6 @@ class Variable:
# %% [markdown]
"""
## 🔧 DEVELOPMENT
### 🧪 Test Your Variable Class
Once you implement the Variable class above, run this cell to test it:

View File

@@ -186,8 +186,6 @@ class MeanSquaredError:
# %% [markdown]
"""
## 🔧 DEVELOPMENT
### 🧪 Unit Test: MSE Loss
Let's test our MSE loss implementation with known values.

View File

@@ -367,8 +367,6 @@ class CompressionMetrics:
# %% [markdown]
"""
## 🔧 DEVELOPMENT
### 🧪 Unit Test: Compression Metrics Analysis
This test validates your `CompressionMetrics` class implementation, ensuring it accurately calculates model parameters, memory usage, and compression statistics for optimization analysis.

View File

@@ -448,8 +448,6 @@ class BenchmarkScenarios:
# %% [markdown]
"""
## 🔧 DEVELOPMENT
### 🧪 Unit Test: Benchmark Scenarios
Let's test our benchmark scenarios with a simple mock model.

View File

@@ -430,8 +430,6 @@ class ModelMonitor:
# %% [markdown]
"""
## 🔧 DEVELOPMENT
### 🧪 Test Your Performance Monitor
Once you implement the `ModelMonitor` class above, run this cell to test it: