mirror of
https://github.com/MLSysBook/TinyTorch.git
synced 2026-05-01 23:37:46 -05:00
Deprecate AUTO TESTING: Remove run_module_tests_auto from all _dev.py modules. Standardize on full-module test execution for reliable, context-aware testing.
This commit is contained in:
@@ -816,27 +816,6 @@ def test_module_conv2d_tensor_compatibility():
|
||||
assert output_tensor.shape == expected_shape, f"Expected output shape {expected_shape}, but got {output_tensor.shape}"
|
||||
print("✅ Integration Test Passed: Conv2D layer correctly transformed image tensor.")
|
||||
|
||||
# %% [markdown]
|
||||
"""
|
||||
## 🤖 AUTO TESTING
|
||||
"""
|
||||
|
||||
# %%
|
||||
# Run the integration test
|
||||
test_module_conv2d_tensor_compatibility()
|
||||
|
||||
# %% [markdown]
|
||||
"""
|
||||
## 🤖 AUTO TESTING
|
||||
"""
|
||||
|
||||
# %%
|
||||
if __name__ == "__main__":
|
||||
from tito.tools.testing import run_module_tests_auto
|
||||
|
||||
# Automatically discover and run all tests in this module
|
||||
success = run_module_tests_auto("CNN")
|
||||
|
||||
# %% [markdown]
|
||||
"""
|
||||
## 🎯 MODULE SUMMARY: Convolutional Networks
|
||||
|
||||
Reference in New Issue
Block a user