|
58 | 58 | warning("Working on adding support to other vnnlib properties"); |
59 | 59 | end |
60 | 60 |
|
61 | | -cEX_time = toc(t) |
| 61 | +cEX_time = toc(t); |
62 | 62 |
|
63 | 63 | %% 3) UNSAT? |
64 | 64 |
|
|
470 | 470 | needReshape = 1; |
471 | 471 | reachOptions = struct; |
472 | 472 | reachOptions.reachMethod = 'relax-star-area'; |
473 | | - reachOptions.relaxFactor = 0.9; |
| 473 | + reachOptions.relaxFactor = 1; |
474 | 474 | reachOptionsList{1} = reachOptions; |
475 | 475 | reachOptions.reachMethod = 'relax-star-area'; |
476 | 476 | reachOptions.relaxFactor = 0.5; |
|
513 | 513 | % cora benchmark: onnx 2 nnv |
514 | 514 | net = importNetworkFromONNX(onnx, "InputDataFormats","BC", "OutputDataFormats","BC"); |
515 | 515 | nnvnet = matlab2nnv(net); |
516 | | - reachOptions = struct; |
517 | | - reachOptions.reachMethod = 'relax-star-area'; |
518 | | - reachOptions.relaxFactor = 0.5; |
519 | | - reachOptionsList{1} = reachOptions; |
520 | | - reachOptions = struct; |
521 | | - reachOptions.reachMethod = 'approx-star'; % default parameters |
522 | | - reachOptionsList{2} = reachOptions; |
| 516 | + if contains(onnx, '-set') |
| 517 | + reachOptions = struct; |
| 518 | + reachOptions.reachMethod = 'relax-star-area'; |
| 519 | + reachOptions.relaxFactor = 0.5; |
| 520 | + reachOptionsList{1} = reachOptions; |
| 521 | + reachOptions = struct; |
| 522 | + reachOptions.reachMethod = 'approx-star'; % default parameters |
| 523 | + reachOptionsList{2} = reachOptions; |
| 524 | + else |
| 525 | + reachOptions = struct; |
| 526 | + reachOptions.reachMethod = 'relax-star-area'; |
| 527 | + reachOptions.relaxFactor = 0.9; |
| 528 | + reachOptionsList{1} = reachOptions; |
| 529 | + reachOptions.reachMethod = 'relax-star-area'; |
| 530 | + reachOptions.relaxFactor = 0.7; |
| 531 | + reachOptionsList{1} = reachOptions; |
| 532 | + end |
523 | 533 |
|
524 | 534 | elseif contains(category, "lsnc") |
525 | 535 | % lyapunov benchmark: onnx to nnv (barely, some IR and opset version differences) |
|
0 commit comments