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

Vectorization refactor #205

Merged
merged 27 commits into from
Jun 9, 2022
Merged

Vectorization refactor #205

merged 27 commits into from
Jun 9, 2022

Commits on Jun 7, 2022

  1. Created a wrapper cost function class that combines the aux vars for …

    …a cost function and its weight.
    luisenp committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    424c714 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ee9e235 View commit details
    Browse the repository at this point in the history
  3. Changed Objective to iterate over CFWrapper if available, and Theseus…

    …Layer to create them at init time.
    luisenp committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    ea74465 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1b3af0b View commit details
    Browse the repository at this point in the history
  5. Renamed vectorizer as Vectorize, added logic to replace Objective ite…

    …rator, and added it to TheseusLayer.
    luisenp committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    2d3f9d2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    6a146cb View commit details
    Browse the repository at this point in the history
  7. _CostFunctionWrapper is now meant to just store a cached value coming…

    … from vectorization. Otherwise it works just like the cost function it wraps.
    luisenp committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    6c6a887 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    77ac280 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    31237da View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d30e1af View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    36e89c7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    376e8ef View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    ae6db18 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    0a2ee0a View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    58cee83 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    7e60f87 View commit details
    Browse the repository at this point in the history
  17. Fixed unit test and added call to Objective.update() in update_vector…

    …ization() if batch_size is None.
    luisenp committed Jun 7, 2022
    Configuration menu
    Copy the full SHA
    399bb90 View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    10cbf1c View commit details
    Browse the repository at this point in the history

Commits on Jun 9, 2022

  1. Configuration menu
    Copy the full SHA
    10b208a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    db5f366 View commit details
    Browse the repository at this point in the history
  3. Added license headers.

    luisenp committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    bb83db3 View commit details
    Browse the repository at this point in the history
  4. Small refactor.

    luisenp committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    1d0cd20 View commit details
    Browse the repository at this point in the history
  5. Fixed bug that was preventing vectorized costs to work with to(). End…

    …-to-end tests now run with vectorize=True.
    luisenp committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    e902924 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    0ec439f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    aab9ead View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    e57f310 View commit details
    Browse the repository at this point in the history
  9. Remove lingering comments.

    luisenp committed Jun 9, 2022
    Configuration menu
    Copy the full SHA
    d6a434f View commit details
    Browse the repository at this point in the history