scglue.models.scclue.BernoulliDataDecoder

class scglue.models.scclue.BernoulliDataDecoder(in_features, out_features, batches=None, h_depth=2, h_dim=256, dropout=0.2)[源代码]

基类:DataDecoder

方法

compute_dist

rtype:

torch.distributions.bernoulli.Bernoulli

属性

batched_weights

List of batch-specific weights