@@ -118,7 +118,7 @@ function augmented_f(
118118 ϵ:: AbstractVector{T} ,
119119) where {T <: AbstractFloat }
120120 n_aug = n_augment(icnf, mode)
121- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
121+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
122122 z = u[begin : (end - n_aug - 1 )]
123123 ż, J = DifferentiationInterface. value_and_jacobian(snn, icnf. compute_mode. adback, z)
124124 l̇ = - LinearAlgebra. tr(J)
@@ -137,7 +137,7 @@ function augmented_f(
137137 ϵ:: AbstractVector{T} ,
138138) where {T <: AbstractFloat }
139139 n_aug = n_augment(icnf, mode)
140- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
140+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
141141 z = u[begin : (end - n_aug - 1 )]
142142 ż, J = DifferentiationInterface. value_and_jacobian(snn, icnf. compute_mode. adback, z)
143143 du[begin : (end - n_aug - 1 )] .= ż
@@ -156,7 +156,7 @@ function augmented_f(
156156 ϵ:: AbstractMatrix{T} ,
157157) where {T <: AbstractFloat }
158158 n_aug = n_augment(icnf, mode)
159- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
159+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
160160 z = u[begin : (end - n_aug - 1 ), :]
161161 ż, J = jacobian_batched(icnf, snn, z)
162162 l̇ = - transpose(LinearAlgebra. tr.(J))
@@ -175,7 +175,7 @@ function augmented_f(
175175 ϵ:: AbstractMatrix{T} ,
176176) where {T <: AbstractFloat }
177177 n_aug = n_augment(icnf, mode)
178- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
178+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
179179 z = u[begin : (end - n_aug - 1 ), :]
180180 ż, J = jacobian_batched(icnf, snn, z)
181181 du[begin : (end - n_aug - 1 ), :] .= ż
@@ -194,7 +194,7 @@ function augmented_f(
194194 ϵ:: AbstractVector{T} ,
195195) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
196196 n_aug = n_augment(icnf, mode)
197- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
197+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
198198 z = u[begin : (end - n_aug - 1 )]
199199 ż, ϵJ =
200200 DifferentiationInterface. value_and_pullback(snn, icnf. compute_mode. adback, z, (ϵ,))
@@ -225,7 +225,7 @@ function augmented_f(
225225 ϵ:: AbstractVector{T} ,
226226) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
227227 n_aug = n_augment(icnf, mode)
228- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
228+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
229229 z = u[begin : (end - n_aug - 1 )]
230230 ż, ϵJ =
231231 DifferentiationInterface. value_and_pullback(snn, icnf. compute_mode. adback, z, (ϵ,))
@@ -256,7 +256,7 @@ function augmented_f(
256256 ϵ:: AbstractVector{T} ,
257257) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
258258 n_aug = n_augment(icnf, mode)
259- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
259+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
260260 z = u[begin : (end - n_aug - 1 )]
261261 ż, Jϵ = DifferentiationInterface. value_and_pushforward(
262262 snn,
@@ -291,7 +291,7 @@ function augmented_f(
291291 ϵ:: AbstractVector{T} ,
292292) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
293293 n_aug = n_augment(icnf, mode)
294- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
294+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
295295 z = u[begin : (end - n_aug - 1 )]
296296 ż, Jϵ = DifferentiationInterface. value_and_pushforward(
297297 snn,
@@ -326,7 +326,7 @@ function augmented_f(
326326 ϵ:: AbstractMatrix{T} ,
327327) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
328328 n_aug = n_augment(icnf, mode)
329- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
329+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
330330 z = u[begin : (end - n_aug - 1 ), :]
331331 ż, ϵJ =
332332 DifferentiationInterface. value_and_pullback(snn, icnf. compute_mode. adback, z, (ϵ,))
@@ -361,7 +361,7 @@ function augmented_f(
361361 ϵ:: AbstractMatrix{T} ,
362362) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
363363 n_aug = n_augment(icnf, mode)
364- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
364+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
365365 z = u[begin : (end - n_aug - 1 ), :]
366366 ż, ϵJ =
367367 DifferentiationInterface. value_and_pullback(snn, icnf. compute_mode. adback, z, (ϵ,))
@@ -392,7 +392,7 @@ function augmented_f(
392392 ϵ:: AbstractMatrix{T} ,
393393) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
394394 n_aug = n_augment(icnf, mode)
395- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
395+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
396396 z = u[begin : (end - n_aug - 1 ), :]
397397 ż, Jϵ = DifferentiationInterface. value_and_pushforward(
398398 snn,
@@ -431,7 +431,7 @@ function augmented_f(
431431 ϵ:: AbstractMatrix{T} ,
432432) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
433433 n_aug = n_augment(icnf, mode)
434- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
434+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
435435 z = u[begin : (end - n_aug - 1 ), :]
436436 ż, Jϵ = DifferentiationInterface. value_and_pushforward(
437437 snn,
@@ -466,7 +466,7 @@ function augmented_f(
466466 ϵ:: AbstractMatrix{T} ,
467467) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
468468 n_aug = n_augment(icnf, mode)
469- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
469+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
470470 z = u[begin : (end - n_aug - 1 ), :]
471471 ż = snn(z)
472472 ϵJ = Lux. vector_jacobian_product(snn, icnf. compute_mode. adback, z, ϵ)
@@ -500,7 +500,7 @@ function augmented_f(
500500 ϵ:: AbstractMatrix{T} ,
501501) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
502502 n_aug = n_augment(icnf, mode)
503- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
503+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
504504 z = u[begin : (end - n_aug - 1 ), :]
505505 ż = snn(z)
506506 ϵJ = Lux. vector_jacobian_product(snn, icnf. compute_mode. adback, z, ϵ)
@@ -530,7 +530,7 @@ function augmented_f(
530530 ϵ:: AbstractMatrix{T} ,
531531) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
532532 n_aug = n_augment(icnf, mode)
533- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
533+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
534534 z = u[begin : (end - n_aug - 1 ), :]
535535 ż = snn(z)
536536 Jϵ = Lux. jacobian_vector_product(snn, icnf. compute_mode. adback, z, ϵ)
@@ -564,7 +564,7 @@ function augmented_f(
564564 ϵ:: AbstractMatrix{T} ,
565565) where {T <: AbstractFloat , COND, AUGMENTED, STEER, NORM_Z, NORM_J}
566566 n_aug = n_augment(icnf, mode)
567- snn = Lux . StatefulLuxLayer{true }(nn, p, st)
567+ snn = LuxCore . StatefulLuxLayer{true }(nn, p, st)
568568 z = u[begin : (end - n_aug - 1 ), :]
569569 ż = snn(z)
570570 Jϵ = Lux. jacobian_vector_product(snn, icnf. compute_mode. adback, z, ϵ)
0 commit comments