-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Loading status checks…
Improving normalization by reducing memory allocations
* using `np.ndarray.astype(..., copy=False)` to prevent new array creation when the types are the same * using inplace numpy matrix operations * using inplace `np.clip`
1 parent
947eafb
commit e5644ea
Showing
1 changed file
with
14 additions
and
11 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