scglue.models.glue.GLUE
- class scglue.models.glue.GLUE(g2v, v2g, x2u, u2x, idx, du, prior)[源代码]
基类:
ModuleBase class for GLUE (Graph-Linked Unified Embedding) network
- 参数:
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
方法
Invalidated forward operation
属性
deviceDevice of the module