Device Testing¤
Module: generative_models.core.device_testing
Source: generative_models/core/device_testing.py
Overview¤
Foundation-first device testing framework for Workshop.
This module provides comprehensive testing capabilities for device management, following test-driven development principles and prioritizing strong design.
Classes¤
BasicComputationTest¤
DeviceTest¤
DeviceTestRunner¤
GenerativeModelTest¤
MatrixMultiplicationTest¤
MemoryStressTest¤
NeuralNetworkTest¤
TestMLP¤
TestResult¤
TestSeverity¤
TestSuite¤
Functions¤
call¤
init¤
init¤
init¤
init¤
init¤
init¤
init¤
init¤
add_noise¤
add_test¤
attention_like_op¤
critical_failures¤
failed_tests¤
is_healthy¤
loss_fn¤
passed_tests¤
print_test_results¤
run¤
run¤
run¤
run¤
run¤
run¤
run_all_tests¤
run_critical_tests_only¤
run_device_tests¤
severity_icon¤
status_icon¤
success_rate¤
test_func¤
test_func¤
test_func¤
test_func¤
test_func¤
total_tests¤
Module Statistics¤
- Classes: 11
- Functions: 36
- Imports: 11