File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33setup (
44 name = 'neuralnetlib' ,
5- version = '3.0.7 ' ,
5+ version = '3.0.8 ' ,
66 author = 'Marc Pinet' ,
77 description = 'A simple convolutional neural network library with only numpy as dependency' ,
88 long_description = open ('README.md' , encoding = "utf-8" ).read (),
Original file line number Diff line number Diff line change @@ -48,8 +48,8 @@ def test_adam(self):
4848 v_b_hat = v_b / (1 - 0.999 ** (1 ))
4949 expected_bias = initial_bias - 0.01 * m_b_hat / (np .sqrt (v_b_hat ) + 1e-8 )
5050
51- np .testing .assert_array_almost_equal (self .weights , expected_weights )
52- np .testing .assert_array_almost_equal (self .bias , expected_bias )
51+ np .testing .assert_array_almost_equal (self .weights , expected_weights , decimal = 5 )
52+ np .testing .assert_array_almost_equal (self .bias , expected_bias , decimal = 5 )
5353
5454 def test_rmsprop (self ):
5555 rmsprop = RMSprop (learning_rate = 0.01 , rho = 0.9 )
You can’t perform that action at this time.
0 commit comments