def test_fast__PatternComputer_dummy_sequential(): def method(model): return PatternComputer(model, pattern_type="dummy", compute_layers_in_parallel=False) dryrun.test_pattern_computer(method, "mnist.log_reg")
def test_precommit__PatternComputer_relunegative(): def method(model): return PatternComputer(model, pattern_type="relu.negative") dryrun.test_pattern_computer(method, "mnist.*")
def test_fast__PatternComputer_relupositive(): def method(model): return PatternComputer(model, pattern_type="relu.positive") dryrun.test_pattern_computer(method, "mnist.log_reg")
def test_precommit__PatternComputer_linear(): def method(model): return PatternComputer(model, pattern_type="linear") dryrun.test_pattern_computer(method, "mnist.*")
def test_fast__PatternComputer_linear(): def method(model): return PatternComputer(model, pattern_type="linear") dryrun.test_pattern_computer(method, "mnist.log_reg")