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
Utility for recording context types of additional arguments (e.g. `Constant` or `Cache`) and re-wrapping them into their types after they have been unwrapped.
152
+
153
+
Useful for second-order differentiation.
154
+
"""
129
155
struct Rewrap{C,T}
130
156
context_makers::T
131
157
function Rewrap(contexts::Vararg{Context,C}) where {C}
@@ -144,6 +170,14 @@ end
144
170
145
171
## Closures
146
172
173
+
"""
174
+
FixTail
175
+
176
+
Closure around a function `f` and a set of tail argument `tail_args` such that
0 commit comments