The "cost" parameter has been renamed "costs" to be consistent
with "times".
Previously the objective value at the end of each iteration was
collected in a list then converted into a numpy array and appended.
Now these lists (for iteration time and objective value) are
assumed to be lists and directly appended each iteration.
Also fixed a bug where the cgrad method would sometimes return
a cost that was not localized to host memory.
Purpose
Approach
Pre-Merge Checklists
Submitter
[ ] Write a helpfully descriptive pull request title.
[ ] Organize changes into logically grouped commits with descriptive commit messages.
[ ] Document all new functions.
[ ] Write tests for new functions or explain why they are not needed.
The "cost" parameter has been renamed "costs" to be consistent with "times".
Previously the objective value at the end of each iteration was collected in a list then converted into a numpy array and appended. Now these lists (for iteration time and objective value) are assumed to be lists and directly appended each iteration.
Also fixed a bug where the cgrad method would sometimes return a cost that was not localized to host memory.
Purpose
Approach
Pre-Merge Checklists
Submitter
yapf
to format python code.Reviewer