SURE-tools 2.1.2__tar.gz → 2.1.4__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.
Potentially problematic release.
This version of SURE-tools might be problematic. Click here for more details.
- {sure_tools-2.1.2 → sure_tools-2.1.4}/PKG-INFO +1 -1
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/PerturbFlow.py +3 -3
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE_tools.egg-info/PKG-INFO +1 -1
- {sure_tools-2.1.2 → sure_tools-2.1.4}/setup.py +1 -1
- {sure_tools-2.1.2 → sure_tools-2.1.4}/LICENSE +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/README.md +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/SURE.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/__init__.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/assembly/__init__.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/assembly/assembly.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/assembly/atlas.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/atac/__init__.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/atac/utils.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/codebook/__init__.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/codebook/codebook.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/flow/__init__.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/flow/flow_stats.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/flow/plot_quiver.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/utils/__init__.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/utils/custom_mlp.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/utils/queue.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE/utils/utils.py +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE_tools.egg-info/SOURCES.txt +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE_tools.egg-info/dependency_links.txt +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE_tools.egg-info/entry_points.txt +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE_tools.egg-info/requires.txt +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/SURE_tools.egg-info/top_level.txt +0 -0
- {sure_tools-2.1.2 → sure_tools-2.1.4}/setup.cfg +0 -0
|
@@ -702,11 +702,11 @@ class PerturbFlow(nn.Module):
|
|
|
702
702
|
cb = tensor_to_numpy(cb)
|
|
703
703
|
return cb
|
|
704
704
|
|
|
705
|
-
def
|
|
705
|
+
def _get_basis_embedding(self, xs):
|
|
706
706
|
zns, _ = self.encoder_zn(xs)
|
|
707
707
|
return zns
|
|
708
708
|
|
|
709
|
-
def
|
|
709
|
+
def get_basis_embedding(self,
|
|
710
710
|
xs,
|
|
711
711
|
batch_size: int = 1024):
|
|
712
712
|
"""
|
|
@@ -868,7 +868,7 @@ class PerturbFlow(nn.Module):
|
|
|
868
868
|
R = []
|
|
869
869
|
with tqdm(total=len(dataloader), desc='', unit='batch') as pbar:
|
|
870
870
|
for delta_Z_batch, _ in dataloader:
|
|
871
|
-
r = self.
|
|
871
|
+
r = self._get_expression_response(delta_Z_batch)
|
|
872
872
|
R.append(tensor_to_numpy(r))
|
|
873
873
|
pbar.update(1)
|
|
874
874
|
|
|
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
|
|
File without changes
|
|
File without changes
|