From 45ac09582b658d690c3c0f252527b39504527879 Mon Sep 17 00:00:00 2001 From: Jeremy Sadler <53983960+jezsadler@users.noreply.github.com> Date: Tue, 19 Mar 2024 02:05:50 +0000 Subject: [PATCH] OmltVar wrapper class --- src/omlt/neuralnet/layers/partition_based.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/omlt/neuralnet/layers/partition_based.py b/src/omlt/neuralnet/layers/partition_based.py index b67c796b..5f99e706 100644 --- a/src/omlt/neuralnet/layers/partition_based.py +++ b/src/omlt/neuralnet/layers/partition_based.py @@ -111,12 +111,7 @@ def output_node_block(b, *output_index): expr += prev_layer_block.z[input_index] * w lb, ub = compute_bounds_on_expr(expr) - print("inside function") - print(expr) - print(w) - print(prev_layer_block.z[input_index]) - print(prev_layer_block.z[input_index].lb) - print(prev_layer_block.z[input_index].ub) + if lb is None: raise ValueError("Expression is unbounded below.") if ub is None: