From 2ee5df1cd8fd857d6d9c7d212e8623eddf1be2d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CShashank?= Date: Wed, 16 Oct 2024 11:21:01 +0530 Subject: [PATCH] fixed return type of test function to str from none --- neural_network/lstm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neural_network/lstm.py b/neural_network/lstm.py index c9d11d905..9ac507924 100644 --- a/neural_network/lstm.py +++ b/neural_network/lstm.py @@ -461,7 +461,7 @@ class LongShortTermMemory: self.backward_pass(errors, inputs) - def test(self) -> None: + def test(self) -> str: """ Test the LSTM model.