Repository navigation
Commit 04d6cb0
Add rrule for normalize on AbstractTensorMap (#637)
* Add rrule for normalize on AbstractTensorMap
* Compute norm only once
* Update ext/TensorKitChainRulesCoreExt/linalg.jl
Co-authored-by: Lukas Devos <ldevos98@gmail.com>
* Make sure the primal is actually identical
* You only inv once
---------
Co-authored-by: Lukas Devos <ldevos98@gmail.com>1 parent 7509eeb commit 04d6cb0
2 files changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
119 | 137 | | |
120 | 138 | | |
121 | 139 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| 166 | + | |
166 | 167 | | |
167 | 168 | | |
168 | 169 | | |
| |||
0 commit comments