mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-10 16:38:39 -05:00
Renames and runs integration tests for compression
Refactors integration test names for clarity. Executes the integration tests to validate the compression functionality.
This commit is contained in:
@@ -1711,7 +1711,7 @@ This integration test validates that all compression techniques work seamlessly
|
||||
"""
|
||||
|
||||
# %%
|
||||
def test_compression_integration():
|
||||
def test_integration_compression():
|
||||
"""Integration test for applying compression to a Sequential model."""
|
||||
print("🔬 Running Integration Test: Compression on Sequential Model...")
|
||||
|
||||
@@ -1742,6 +1742,9 @@ def test_compression_integration():
|
||||
|
||||
print("✅ Integration Test Passed: Pruning correctly modified a layer in a Sequential model.")
|
||||
|
||||
# Run the test
|
||||
test_integration_compression()
|
||||
|
||||
# %% [markdown]
|
||||
"""
|
||||
### 🧪 Integration Test: Comprehensive Compression Pipeline
|
||||
@@ -1750,7 +1753,7 @@ This comprehensive integration test validates the complete compression workflow,
|
||||
"""
|
||||
|
||||
# %%
|
||||
def test_comprehensive_compression_integration():
|
||||
def test_integration_compression():
|
||||
"""
|
||||
Integration test for applying multiple compression techniques to a Sequential model.
|
||||
|
||||
@@ -1796,6 +1799,9 @@ def test_comprehensive_compression_integration():
|
||||
|
||||
print("✅ Integration Test Passed: Comprehensive compression successfully applied and verified.")
|
||||
|
||||
# Run the test
|
||||
test_integration_compression()
|
||||
|
||||
# %% [markdown]
|
||||
"""
|
||||
## 🧪 Module Testing
|
||||
|
||||
Reference in New Issue
Block a user