Skip to content

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¤

class BasicComputationTest

DeviceTest¤

class DeviceTest

DeviceTestRunner¤

class DeviceTestRunner

GenerativeModelTest¤

class GenerativeModelTest

MatrixMultiplicationTest¤

class MatrixMultiplicationTest

MemoryStressTest¤

class MemoryStressTest

NeuralNetworkTest¤

class NeuralNetworkTest

TestMLP¤

class TestMLP

TestResult¤

class TestResult

TestSeverity¤

class TestSeverity

TestSuite¤

class TestSuite

Functions¤

call¤

def __call__()

init¤

def __init__()

init¤

def __init__()

init¤

def __init__()

init¤

def __init__()

init¤

def __init__()

init¤

def __init__()

init¤

def __init__()

init¤

def __init__()

add_noise¤

def add_noise()

add_test¤

def add_test()

attention_like_op¤

def attention_like_op()

critical_failures¤

def critical_failures()

failed_tests¤

def failed_tests()

is_healthy¤

def is_healthy()

loss_fn¤

def loss_fn()

passed_tests¤

def passed_tests()
def print_test_results()

run¤

def run()

run¤

def run()

run¤

def run()

run¤

def run()

run¤

def run()

run¤

def run()

run_all_tests¤

def run_all_tests()

run_critical_tests_only¤

def run_critical_tests_only()

run_device_tests¤

def run_device_tests()

severity_icon¤

def severity_icon()

status_icon¤

def status_icon()

success_rate¤

def success_rate()

test_func¤

def test_func()

test_func¤

def test_func()

test_func¤

def test_func()

test_func¤

def test_func()

test_func¤

def test_func()

total_tests¤

def total_tests()

Module Statistics¤

  • Classes: 11
  • Functions: 36
  • Imports: 11