-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf(tensorflow): Interferometer gradient
Some indexing has been moved outside of the for loop to improve performance. Moreover, if the upstream is static valued, then we calculate with numpy, meaning that we don't need to pad the matrices, since in numpy we can do item assignments. Finally, some caching has been added to some index calculation functions.
- Loading branch information
1 parent
873f464
commit 56d36c2
Showing
1 changed file
with
41 additions
and
23 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