Skip to content
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

Tests and fixes for maraboupy's NNet input parser #280

Merged
merged 17 commits into from
Jun 10, 2020

Conversation

kjulian3
Copy link
Collaborator

@kjulian3 kjulian3 commented Jun 8, 2020

This pr addresses #279 and adds tests for maraboupy's NNet input parser. A boolean option was added to Marabou.read_nnet() to allow users to define properties in the original input and output spaces by adjusting the parameters of the first and last layer to incorporate the normalization. As a result, users can define properties more intuitively without worrying about normalization. The tests added demonstrate this new functionality as well as existing functionality.

This may clash with some changes in #277, but it should be minimal.

@kjulian3 kjulian3 requested review from guykatzz and wu-haoze June 8, 2020 23:44
@kjulian3 kjulian3 merged commit 406198e into NeuralNetworkVerification:master Jun 10, 2020
@kjulian3 kjulian3 deleted the pytest_nnet branch June 10, 2020 20:53
AleksandarZeljic pushed a commit to AleksandarZeljic/Marabou that referenced this pull request Oct 9, 2020
…ication#280)

* Tests for NNet

* Simplify normalization function

* Marabou.py

* Add new line

Co-authored-by: Kyle Julian <kjulian3@stanford.edu>
matanost pushed a commit that referenced this pull request Nov 2, 2021
* Tests for NNet

* Simplify normalization function

* Marabou.py

* Add new line

Co-authored-by: Kyle Julian <kjulian3@stanford.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants