Skip to content

Commit 1dfe6b3

Browse files
committed
Reduce tolerance in conv2d convergence tests
1 parent 703f802 commit 1dfe6b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/test_conv2d_network.f90

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ program test_conv2d_network
3939

4040
type(network) :: cnn
4141
real :: y(1)
42-
real :: tolerance = 1e-5
42+
real :: tolerance = 1e-4
4343
integer :: n
4444
integer, parameter :: num_iterations = 1000
4545

@@ -76,7 +76,7 @@ program test_conv2d_network
7676
type(network) :: cnn
7777
real :: x(1, 8, 8)
7878
real :: y(1)
79-
real :: tolerance = 1e-5
79+
real :: tolerance = 1e-4
8080
integer :: n
8181
integer, parameter :: num_iterations = 1000
8282

@@ -111,7 +111,7 @@ program test_conv2d_network
111111
type(network) :: cnn
112112
real :: x(1, 12, 12)
113113
real :: y(9)
114-
real :: tolerance = 1e-5
114+
real :: tolerance = 1e-4
115115
integer :: n
116116
integer, parameter :: num_iterations = 5000
117117

0 commit comments

Comments
 (0)