deeplotx 0.4.12b1__py3-none-any.whl → 0.4.12b2__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.
@@ -20,7 +20,7 @@ class RecursiveSequential(BaseNeuralNetwork):
20
20
  self.regressive_head = LinearRegression(input_dim=hidden_dim * 2, output_dim=output_dim)
21
21
 
22
22
  def initial_state(self, batch_size: int = 1) -> tuple[torch.Tensor, torch.Tensor]:
23
- zeros = torch.zeros(self.lstm.num_layers * 2, batch_size, self.lstm.hidden_size)
23
+ zeros = torch.zeros(self.lstm.num_layers * 2, batch_size, self.lstm.hidden_size).to(next(self.parameters()).device)
24
24
  return zeros, zeros
25
25
 
26
26
  @override
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: deeplotx
3
- Version: 0.4.12b1
3
+ Version: 0.4.12b2
4
4
  Summary: Easy-2-use long text NLP toolkit.
5
5
  Requires-Python: >=3.10
6
6
  Description-Content-Type: text/markdown
@@ -8,7 +8,7 @@ deeplotx/nn/auto_regression.py,sha256=o82C9TREZbhGdj2knSVGTXhjJne0LGEqc7BllByJJW
8
8
  deeplotx/nn/base_neural_network.py,sha256=xWKG4FX6Jzdlrfc1HOW1aO9uh0Af3D-dB5Jl7eCxsAk,1635
9
9
  deeplotx/nn/linear_regression.py,sha256=D4mEWVOq6q1Fm2otm57rgZ_E06HJLZBV5k636PprAf4,1520
10
10
  deeplotx/nn/logistic_regression.py,sha256=QAtZp2oyqOW8-1pJWVcahsSM83bzfA68EHObg-wSHHY,463
11
- deeplotx/nn/recursive_sequential.py,sha256=Nj5B4iPAq7SUCKepextZbHWvGPxHo3w9UXEsEg_nFi4,1352
11
+ deeplotx/nn/recursive_sequential.py,sha256=03cAeOQMKv_mpNTZMRVrtEm7IlLir-KJs3AcqFj7Vl4,1387
12
12
  deeplotx/nn/softmax_regression.py,sha256=eUn3mVNlye9ewVdw3McPHZuKbUvvaamsUgFIJMVMgBU,487
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=CRu7YM5sbox1GsCyWw
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.12b1.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
24
- deeplotx-0.4.12b1.dist-info/METADATA,sha256=qCyRk3nz-Jy7_1UMvJ34AhvWfvqWfrISvx8T5-ieXZw,6287
25
- deeplotx-0.4.12b1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
- deeplotx-0.4.12b1.dist-info/top_level.txt,sha256=hKg4pVDXZ-WWxkRfJFczRIll1Sv7VyfKCmzHLXbuh1U,9
27
- deeplotx-0.4.12b1.dist-info/RECORD,,
23
+ deeplotx-0.4.12b2.dist-info/licenses/LICENSE,sha256=IwGE9guuL-ryRPEKi6wFPI_zOhg7zDZbTYuHbSt_SAk,35823
24
+ deeplotx-0.4.12b2.dist-info/METADATA,sha256=p9kV3wW3YuzsWrxPuPw93qytbz_7GvdR9fkRcFq1rNY,6287
25
+ deeplotx-0.4.12b2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
26
+ deeplotx-0.4.12b2.dist-info/top_level.txt,sha256=hKg4pVDXZ-WWxkRfJFczRIll1Sv7VyfKCmzHLXbuh1U,9
27
+ deeplotx-0.4.12b2.dist-info/RECORD,,