SURE-tools 3.6.13__tar.gz → 3.6.14__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.
- {sure_tools-3.6.13 → sure_tools-3.6.14}/PKG-INFO +1 -1
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/SURE_nsf.py +1 -4
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/SURE_vae.py +0 -2
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE_tools.egg-info/PKG-INFO +1 -1
- {sure_tools-3.6.13 → sure_tools-3.6.14}/setup.py +1 -1
- {sure_tools-3.6.13 → sure_tools-3.6.14}/LICENSE +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/README.md +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/SURE.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/SUREMO.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/SURE_vanilla.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/__init__.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/atac/__init__.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/atac/utils.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/dist/__init__.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/dist/negbinomial.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/graph/__init__.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/graph/graph_utils.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/utils/__init__.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/utils/custom_mlp.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/utils/label.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/utils/queue.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE/utils/utils.py +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE_tools.egg-info/SOURCES.txt +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE_tools.egg-info/dependency_links.txt +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE_tools.egg-info/requires.txt +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/SURE_tools.egg-info/top_level.txt +0 -0
- {sure_tools-3.6.13 → sure_tools-3.6.14}/setup.cfg +0 -0
|
@@ -580,10 +580,7 @@ class SURENF(nn.Module):
|
|
|
580
580
|
X_batch = X_batch.to(self.get_device())
|
|
581
581
|
C_batch = cs[idx].to(self.get_device())
|
|
582
582
|
|
|
583
|
-
|
|
584
|
-
#z_basal = cb_loc[ind.squeeze()]
|
|
585
|
-
ns = self._soft_assignments(X_batch)
|
|
586
|
-
z_basal = torch.matmul(ns, cb_loc)
|
|
583
|
+
z_basal = self._get_cell_embedding(X_batch)
|
|
587
584
|
dzs = self.condition_effect([C_batch,z_basal])
|
|
588
585
|
|
|
589
586
|
A.append(tensor_to_numpy(dzs))
|
|
@@ -593,8 +593,6 @@ class SUREVAE(nn.Module):
|
|
|
593
593
|
X_batch = X_batch.to(self.get_device())
|
|
594
594
|
C_batch = cs[idx].to(self.get_device())
|
|
595
595
|
|
|
596
|
-
#ns = self._soft_assignments(X_batch)
|
|
597
|
-
#z_basal = torch.matmul(ns, cb_loc)
|
|
598
596
|
z_basal = self._get_cell_embedding(X_batch)
|
|
599
597
|
dzs = self.condition_effect([C_batch,z_basal])
|
|
600
598
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|