Skip to content

Commit d5ad855

Browse files
Update examples/2-deep-kernel-learning/script.jl
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent e966370 commit d5ad855

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

examples/2-deep-kernel-learning/script.jl

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,10 @@ let tstate = Training.TrainState(neuralnet, ps, st, Optimisers.Adam(0.005))
9595
)
9696

9797
if i % 10 == 0
98-
k = SqExponentialKernel() FunctionTransform(
99-
StatefulLuxLayer(neuralnet, tstate.parameters, tstate.states)
100-
)
98+
k =
99+
SqExponentialKernel() FunctionTransform(
100+
StatefulLuxLayer(neuralnet, tstate.parameters, tstate.states)
101+
)
101102
fx = AbstractGPs.FiniteGP(GP(k), x_train, noise_std^2)
102103

103104
@info "iteration $i/$nmax: loss = $loss_val"

0 commit comments

Comments
 (0)