Skip to content

Commit 119a6c8

Browse files
committed
linear2d_layer: update tests
1 parent bfc69d5 commit 119a6c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_linear2d_layer.f90

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,8 @@ subroutine test_linear2d_layer_gradient_updates(ok)
135135

136136
linear = linear2d_layer(out_features=2)
137137
call linear % init([3, 4])
138+
linear % weights = 0.1
139+
linear % biases = 0.11
138140
call linear % forward(input)
139141
call linear % backward(input, gradient)
140142

0 commit comments

Comments
 (0)