Skip to content

Commit 90286f7

Browse files
committed
Update test
1 parent 75703c8 commit 90286f7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/parameters.jl

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,12 @@
1919
lengths = (3, 1, 1, 1)
2020
# Test range's corresponding indices in internal representation state.X
2121
indices = (1:3, 4, 5, 6)
22-
# Generated samples from d1, d2, d3, d4 with StableRNG(1234)
23-
X1 = [0.14280010160187237 0.49409071076694583 0.3631091876311819;
24-
0.295010672512568 0.4534584876713112 0.25153083981612073;
25-
0.12881930462550284 0.2617407494915029 0.6094399458829942]
26-
X2 = [2.7429797605672808, 2.3976392099947, 2.5742724788985445]
27-
X3 = [3.9372495283243105, 3.6569395920512977, 3.6354556967115146]
28-
X4 = [-0.8067647083847199, 0.420991611378423, 0.6736019046580138]
22+
# Initial hyperparameter representation
23+
rng = StableRNG(1234)
24+
X1 = rand(rng, d1, n)'
25+
X2 = rand(rng, d2, n)
26+
X3 = rand(rng, d3, n)
27+
X4 = rand(rng, d4, n)
2928
Xs = (X1, X2, X3, X4)
3029

3130
@testset "Initializer" begin

0 commit comments

Comments
 (0)