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