-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move input query construction from preprocessor to inputquery #296
move input query construction from preprocessor to inputquery #296
Conversation
LGTM |
@@ -138,7 +138,7 @@ void PropertyParser::processSingleLine( const String &line, InputQuery &inputQue | |||
|
|||
auto subToken = subTokens.begin(); | |||
++subToken; | |||
unsigned layerIndex = atoi( subToken->ascii() ); | |||
unsigned layerIndex = 2 * atoi( subToken->ascii() ) - 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm...
So, it seems like this change is tightly coupled to the ACAS Xu architecture, of input, <fc,relu>*, output layers. Our NLR now supports general feed-forward topologies. I understand the motivation was to maintain the old ws indexing, but I'm not sure it's good to hard-code this.
…NetworkVerification#296) * move input query construction from preprocessor to inputquery * reconstruct nlr * delete nlr before constructing it * apply the same change to DnCMaraou * add back preprocessor logging * fix bug in property parser
* move input query construction from preprocessor to inputquery * reconstruct nlr * delete nlr before constructing it * apply the same change to DnCMaraou * add back preprocessor logging * fix bug in property parser
This allows us to call constructNLR() after loading the .nnet file, so that we can load bounds of internal variables in the property file.