SURE-tools 4.0.3__py3-none-any.whl → 4.0.5__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.
SURE/SURE_vae.py CHANGED
@@ -297,7 +297,7 @@ class SUREVAE(nn.Module):
297
297
  )
298
298
 
299
299
  self.decoder_log_mu = MLP(
300
- [self.latent_dim] + self.decoder_hidden_layers + [self.input_dim],
300
+ [self.latent_dim+self.latent_dim+self.latent_dim] + self.decoder_hidden_layers + [self.input_dim],
301
301
  activation=activate_fct,
302
302
  output_activation=None,
303
303
  post_layer_fct=post_layer_fct,
@@ -444,7 +444,7 @@ class SUREVAE(nn.Module):
444
444
  else:
445
445
  zfs = torch.zeros_like(zs)
446
446
 
447
- log_mu = self.decoder_log_mu(zs+zcs+zps+zfs)
447
+ log_mu = self.decoder_log_mu([zs+zcs,zps,zfs])
448
448
  if self.loss_func in ['bernoulli']:
449
449
  log_theta = log_mu
450
450
  elif self.loss_func in ['negbinomial']:
@@ -707,7 +707,7 @@ class SUREVAE(nn.Module):
707
707
 
708
708
  zfs = torch.zeros_like(z_basal)
709
709
 
710
- log_mu = self.decoder_log_mu(z_basal+zcs+zps+zfs)
710
+ log_mu = self.decoder_log_mu([z_basal+zcs,zps,zfs])
711
711
  if self.loss_func == 'bernoulli':
712
712
  counts = dist.Bernoulli(logits=log_mu).to_event(1).mean
713
713
  else:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: SURE-tools
3
- Version: 4.0.3
3
+ Version: 4.0.5
4
4
  Summary: Succinct Representation of Single Cells
5
5
  Home-page: https://github.com/ZengFLab/SURE
6
6
  Author: Feng Zeng
@@ -1,7 +1,7 @@
1
1
  SURE/SURE.py,sha256=YcJ6Lxt4ziQXZ5Yk02Ss-fJRl_M1Z0QghLY_yeHt5Pc,16659
2
2
  SURE/SUREMO.py,sha256=hN0G0ZEBNQdmj0gGlBIy1wjKGKqAMUemDjQeICzvNUY,47644
3
3
  SURE/SURE_nsf.py,sha256=uKpau3nDdlX58lLzPzecZULKobyOYB7xKtcYo6vwbak,49541
4
- SURE/SURE_vae.py,sha256=X4aNb6Wv9Xn-w1Xc-wUuio6YsxX0dIwdJqsWG44hCa0,46375
4
+ SURE/SURE_vae.py,sha256=VhJk9K_RA6IzaZ8WpP8T3j1c5I0_o7x6VZzyP_QBseI,46411
5
5
  SURE/SURE_vanilla.py,sha256=I1RHHCpzk8ml1vMdH_gITOzAFXrHYUA7IAwbVSoxmBo,27327
6
6
  SURE/__init__.py,sha256=eJN0vlGblWir1JHaoiQqbQHzS_C1PNYcA_ls7UviTqc,444
7
7
  SURE/atac/__init__.py,sha256=3smP8IKHfwNCd1G_sZH3pKHXuLkLpFuLtjUTUSy7_As,34
@@ -15,8 +15,8 @@ SURE/utils/custom_mlp.py,sha256=XvviNUYeaZ5D1evqETyWLxgtL56mmFQR_pxsYpKw0yY,1170
15
15
  SURE/utils/label.py,sha256=joKO1mSkjZXeLvSeC7GluQk4-_qgGgPqlwWixdcbKMQ,4648
16
16
  SURE/utils/queue.py,sha256=E_5PA5EWcBoGAZj8BkKQnkCK0p4C-4-xcTPqdIXaPXU,1892
17
17
  SURE/utils/utils.py,sha256=IUHjDDtYaAYllCWsZyIzqQwaLul6fJRvHRH4vIYcR-c,8462
18
- sure_tools-4.0.3.dist-info/licenses/LICENSE,sha256=TFHKwmrAViXQbSX5W-NDItkWFjm45HWOeUniDrqmnu0,1065
19
- sure_tools-4.0.3.dist-info/METADATA,sha256=DlTyOxPOevVRibU7zjiIorXK-Te5I5uMI3zec3H94zw,1661
20
- sure_tools-4.0.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
- sure_tools-4.0.3.dist-info/top_level.txt,sha256=BtFTebdiJeqra4r6mm-uEtwVRFLZ_IjYsQ7OnalrOvY,5
22
- sure_tools-4.0.3.dist-info/RECORD,,
18
+ sure_tools-4.0.5.dist-info/licenses/LICENSE,sha256=TFHKwmrAViXQbSX5W-NDItkWFjm45HWOeUniDrqmnu0,1065
19
+ sure_tools-4.0.5.dist-info/METADATA,sha256=aB-j0mgfSBnmu6E-OM6a6UcXpckqbmbCM5LALP-o5NM,1661
20
+ sure_tools-4.0.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
21
+ sure_tools-4.0.5.dist-info/top_level.txt,sha256=BtFTebdiJeqra4r6mm-uEtwVRFLZ_IjYsQ7OnalrOvY,5
22
+ sure_tools-4.0.5.dist-info/RECORD,,