deeplotx 0.4.12b6__py3-none-any.whl → 0.4.13__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- deeplotx/nn/recursive_sequential.py +2 -3
- {deeplotx-0.4.12b6.dist-info → deeplotx-0.4.13.dist-info}/METADATA +1 -1
- {deeplotx-0.4.12b6.dist-info → deeplotx-0.4.13.dist-info}/RECORD +6 -6
- {deeplotx-0.4.12b6.dist-info → deeplotx-0.4.13.dist-info}/WHEEL +0 -0
- {deeplotx-0.4.12b6.dist-info → deeplotx-0.4.13.dist-info}/licenses/LICENSE +0 -0
- {deeplotx-0.4.12b6.dist-info → deeplotx-0.4.13.dist-info}/top_level.txt +0 -0
@@ -36,11 +36,10 @@ class RecursiveSequential(BaseNeuralNetwork):
|
|
36
36
|
return x, (hidden_state, cell_state)
|
37
37
|
|
38
38
|
@override
|
39
|
-
def predict(self, x
|
40
|
-
_batch_size = batch_size if batch_size is not None else x.shape[0]
|
39
|
+
def predict(self, x) -> torch.Tensor:
|
41
40
|
__train = self.training
|
42
41
|
self.training = False
|
43
42
|
with torch.no_grad():
|
44
|
-
res = self.forward(x, self.initial_state(batch_size=
|
43
|
+
res = self.forward(x.unsqueeze(0), self.initial_state(batch_size=1))[0]
|
45
44
|
self.training = __train
|
46
45
|
return res
|
@@ -8,7 +8,7 @@ deeplotx/nn/auto_regression.py,sha256=7P63opWCWMqE2DigwbsL6kfXtFtJPz00Yo1RqflBz4
|
|
8
8
|
deeplotx/nn/base_neural_network.py,sha256=ufA0QOFFXaz4RLqjqx9N6VY-mDwWOe9Y35u2vsh_NFc,2339
|
9
9
|
deeplotx/nn/linear_regression.py,sha256=_LQFrOKBbQxvuNzb_B8Mr6PAQJUg-pFeu3h7_jQz04o,2166
|
10
10
|
deeplotx/nn/logistic_regression.py,sha256=j8QGe0e7In97RMOXApJRID85qf1rOUCOk3V368CBfqs,653
|
11
|
-
deeplotx/nn/recursive_sequential.py,sha256
|
11
|
+
deeplotx/nn/recursive_sequential.py,sha256=pHZChjzw9cuMQ0lmv42lxxVgxCU6D7owOgph0Irj-w4,2219
|
12
12
|
deeplotx/nn/softmax_regression.py,sha256=SlhvHho-Oufp7adAjm1t1ygidu-FrnHQ9aleMXyS_s8,674
|
13
13
|
deeplotx/similarity/__init__.py,sha256=s3u-KSgxjnMcWpIItKgXNltFMPQ7YY3CqsqHI-5F1c8,724
|
14
14
|
deeplotx/similarity/distribution.py,sha256=wQGouuuW531pZeBRKBujXsdsoz4fDnPw7_GW81jwepc,1066
|
@@ -20,8 +20,8 @@ deeplotx/trainer/text_binary_classification_trainer.py,sha256=Wq_pGO78zgdXxFeBja
|
|
20
20
|
deeplotx/util/__init__.py,sha256=JxqAK_WOOHcYVSTHBT1-WuBwWrPEVDTV3titeVWvNUM,74
|
21
21
|
deeplotx/util/hash.py,sha256=wwsC6kOQvbpuvwKsNQOARd78_wePmW9i3oaUuXRUnpc,352
|
22
22
|
deeplotx/util/read_file.py,sha256=ptzouvEQeeW8KU5BrWNJlXw-vFXVrpS9SkAUxsu6A8A,612
|
23
|
-
deeplotx-0.4.
|
24
|
-
deeplotx-0.4.
|
25
|
-
deeplotx-0.4.
|
26
|
-
deeplotx-0.4.
|
27
|
-
deeplotx-0.4.
|
23
|
+
deeplotx-0.4.13.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
|
24
|
+
deeplotx-0.4.13.dist-info/METADATA,sha256=IpaDS2hmLGYUDKEhE_o-uTR0Go2ZkAFQCHQMsft2-o8,6285
|
25
|
+
deeplotx-0.4.13.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
26
|
+
deeplotx-0.4.13.dist-info/top_level.txt,sha256=hKg4pVDXZ-WWxkRfJFczRIll1Sv7VyfKCmzHLXbuh1U,9
|
27
|
+
deeplotx-0.4.13.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|