Skip to content

Commit b69ba9a

Browse files
committed
again
1 parent 33a6549 commit b69ba9a

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

test/test_conv1d_network.f90

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ program test_conv1d_network
66
implicit none
77

88
type(network) :: net
9-
real, allocatable :: sample_input(:,:), output(:,:), o(:)
9+
real, allocatable :: sample_input(:,:), output(:,:)
1010
logical :: ok = .true.
1111

1212
! 3-layer convolutional network

test/test_conv2d_network.f90

+2-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ program test_conv2d_network
66
implicit none
77

88
type(network) :: net
9-
real, allocatable :: sample_input(:,:,:), output(:,:,:), o(:)
9+
real, allocatable :: sample_input(:,:,:), output(:,:,:)
1010
logical :: ok = .true.
1111

1212
! 3-layer convolutional network
@@ -60,8 +60,7 @@ program test_conv2d_network
6060
call cnn % forward(sample_input)
6161
call cnn % backward(y)
6262
call cnn % update(optimizer=sgd(learning_rate=1.))
63-
o = cnn % layers(3) % get_params()
64-
print *, o
63+
6564
if (all(abs(cnn % predict(sample_input) - y) < tolerance)) exit
6665
end do
6766

0 commit comments

Comments
 (0)