You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d279dee
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: ext/TensorKitEnzymeExt/TensorKitEnzymeExt.jl
-15Lines changed: 0 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -11,21 +11,6 @@ using MatrixAlgebraKit
11
11
using TupleTools
12
12
using Random: AbstractRNG
13
13
14
-
"""
15
-
is_inactive(config, x::Annotation) -> Bool
16
-
17
-
Check whether the annotated argument `x` should be treated as inactive, i.e. whether no tangent should be read from or accumulated into `x.dval`.
18
-
Under runtime activity, Enzyme may pass an argument that is inactive at run time as a `Duplicated` whose shadow aliases the primal (`x.dval === x.val`);
19
-
writing into that shadow would then corrupt the primal.
20
-
See https://enzymead.github.io/Enzyme.jl/dev/faq/#faq-runtime-activity.
21
-
22
-
!!! note
23
-
This is a stopgap until an equivalent helper is available in `EnzymeRules`
24
-
(see https://github.com/EnzymeAD/Enzyme.jl/pull/3597#discussion_r4014313289).
0 commit comments