scglue.models.glue.GLUE
- class scglue.models.glue.GLUE(g2v, v2g, x2u, u2x, idx, du, prior)[source]
Bases:
Module
Base class for GLUE (Graph-Linked Unified Embedding) network
- Parameters
g2v (
scglue.models.glue.GraphEncoder
) – Graph encoderv2g (
scglue.models.glue.GraphDecoder
) – Graph decoderx2u (
typing.Mapping
[str
,scglue.models.glue.DataEncoder
]) – Data encoders (indexed by modality name)u2x (
typing.Mapping
[str
,scglue.models.glue.DataDecoder
]) – Data decoders (indexed by modality name)idx (
typing.Mapping
[str
,torch.Tensor
]) – Feature indices among graph vertices (indexed by modality name)du (
scglue.models.glue.Discriminator
) – Modality discriminatorprior (
scglue.models.glue.Prior
) – Latent prior
Methods
Invalidated forward operation
Attributes
device
Device of the module