Skip to content

Commit 2ee5df1

Browse files
committed
fixed return type of test function to str from none
1 parent f0919fe commit 2ee5df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

neural_network/lstm.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def train(self) -> None:
461461

462462
self.backward_pass(errors, inputs)
463463

464-
def test(self) -> None:
464+
def test(self) -> str:
465465
"""
466466
Test the LSTM model.
467467

0 commit comments

Comments
 (0)