Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Utilize complex-step numerical derivative in testing framework; improve strats * fix broadcast-shape strat to respect min_dim=0; add tests * add value check to choices strat; add unit test * improve integer-index strat; add test * improve slice strat: permit negative start/stop; add unit test * improving basic indexing; tests passing; shrinking it weird * fix shrinking behavior of basic_indexing; add docs * improve shrinking for slices; add docs * improve adv-index search strategy to shrink away from singleton dimensions * begin porting numerical derivatives to complex step * remove as_decimal from uber calls * minor cleanup; some tests still failing - need finite difference * docs formatting * fix slice sctrat: step was never negative; permit None for start/stop * fix tests for funcs not compatible with complex-step * replace empty_like with empty in uber * fix valid_axes and add tests - bug exposed in Sum/Mean * fix edge case for mean when axis=() * add StdDev (handles axis=() case for backprop) * remove f-string * restore rtol for cbrt test * update hypothesis dependency to disallow non-array return from hnp.arrays * update .gitignore * remove np.empty from tests - guard against nan * add complex step docs
- Loading branch information
Showing
26 changed files
with
912 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.