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

Guy Amir - added addSignConstraint to Maraboupy #344

Merged
merged 47 commits into from
Aug 10, 2020

Conversation

guyam2
Copy link
Contributor

@guyam2 guyam2 commented Aug 9, 2020

same as the addReluConstraint() function

@guykatzz
Copy link
Collaborator

guykatzz commented Aug 9, 2020

Looks good to me; I'll just let @kjulian3 confirm that the new documentation guidelines are met.

@kjulian3
Copy link
Collaborator

kjulian3 commented Aug 9, 2020

This looks good so far, but we'd probably want to make some changes to MarabouNetwork.py to expose the sign constraint to the network class and make it easier for users to access, and we should add some tests to make sure the sign constraint works correctly, as was done for #327. This could be done in a separate PR if needed. What's done here though looks correct to me

@guykatzz
Copy link
Collaborator

Thanks Kyle. Our next step will indeed be to expose the sign constraint, probably through the TF interface, and we will make sure to test it.

@guykatzz guykatzz self-assigned this Aug 10, 2020
@guykatzz guykatzz merged commit d1aca90 into NeuralNetworkVerification:master Aug 10, 2020
matanost pushed a commit that referenced this pull request Nov 2, 2021
* Guy Amir's first try 20/05/2020

* Guy Amir's first try 20/05/2020

* Guy Amir's first try 21/05/2020

* Guy Amir - 21/05 - before testing

* Guy Amir's first try 20/05/2020

* Guy Amir's first try 20/05/2020

* Guy Amir - 0506

* Guy Amir - before testing - 0406

* Guy 0406

* Guy Amir's first try 20/05/2020

* Guy Amir's first try 20/05/2020

* Guy - before testing 0406

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - while testing

* Guy - after testing 1706

* Guy - while testing

* Guy - system testing

* Guy - system testing

* Guy - system testing

* Guy - system testing

* Guy - system testing

* Guy - after system testing

* Guy - after system testing

* Guy - after system testing?

* Guy - after system testing?

* some cleanup

* WIP

* Delete vcs.xml

* Delete Project.xml

* Merge branch 'master' of https://github.com/guyam2/Marabou

# Conflicts:
#	src/system_tests/Test_sign.h

* lots of polishing

* undo changes in relu

* unused var

* with new function addSignConstraint() to MarabouCore.cpp - 0908

Merge branch 'master' of https://github.com/guyam2/Marabou

# Conflicts:
#	src/system_tests/Test_sign.h

* with new function addSignConstraint() to MarabouCore.cpp - 0908

Merge branch 'master' of https://github.com/guyam2/Marabou

# Conflicts:
#	src/system_tests/Test_sign.h

Co-authored-by: Guy Katz <guykatz@cs.huji.ac.il>
Co-authored-by: Guy Katz <guyk@cs.stanford.edu>
Co-authored-by: Guy Katz <katz911@gmail.com>
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.

4 participants