geneflowdecoder 0.1.5__tar.gz → 0.1.6__tar.gz
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.
- {geneflowdecoder-0.1.5/src/geneflowdecoder.egg-info → geneflowdecoder-0.1.6}/PKG-INFO +1 -1
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/pyproject.toml +1 -1
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/src/geneflowdecoder/_core.py +0 -9
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/src/geneflowdecoder/_version.py +1 -1
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6/src/geneflowdecoder.egg-info}/PKG-INFO +1 -1
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/LICENSE +0 -0
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/README.md +0 -0
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/setup.cfg +0 -0
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/src/geneflowdecoder/__init__.py +0 -0
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/src/geneflowdecoder.egg-info/SOURCES.txt +0 -0
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/src/geneflowdecoder.egg-info/dependency_links.txt +0 -0
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/src/geneflowdecoder.egg-info/requires.txt +0 -0
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/src/geneflowdecoder.egg-info/top_level.txt +0 -0
- {geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/tests/test_api.py +0 -0
|
@@ -276,15 +276,6 @@ class GeneFlowDecoder(nn.Module):
|
|
|
276
276
|
|
|
277
277
|
self._gene_ids = nn.Parameter(torch.arange(self.n_genes), requires_grad=False)
|
|
278
278
|
|
|
279
|
-
# 构造期自检:shape 链断在这里,而不是 136 个 batch 之后
|
|
280
|
-
with torch.no_grad():
|
|
281
|
-
_gdummy = self.vel_proj(torch.zeros(2, min(self.n_genes, 8), d))
|
|
282
|
-
if _gdummy.shape != (2, min(self.n_genes, 8)):
|
|
283
|
-
raise RuntimeError(
|
|
284
|
-
f"vel_proj 配置错误: 输出 {tuple(_gdummy.shape)}, "
|
|
285
|
-
f"期望 (2, {min(self.n_genes, 8)})。vel_proj 必须是 nn.Linear(d, 1)"
|
|
286
|
-
)
|
|
287
|
-
|
|
288
279
|
self.to(self.device)
|
|
289
280
|
|
|
290
281
|
# --------------------------------------------------------
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
# -*- coding: utf-8 -*-
|
|
2
|
-
__version__ = "0.1.
|
|
2
|
+
__version__ = "0.1.6"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{geneflowdecoder-0.1.5 → geneflowdecoder-0.1.6}/src/geneflowdecoder.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|