scglue.models.sc.GraphDecoder.forward
- GraphDecoder.forward(v, eidx, esgn)[源代码]
Decode graph from vertex latent
- 参数:
v (
torch.Tensor
) – Vertex latent (\(n_{vertices} \times n_{features}\))eidx (
torch.Tensor
) – Vertex indices of edges (\(2 \times n_{edges}\))esgn (
torch.Tensor
) – Sign of edges (\(n_{edges}\))
- 返回类型:
- 返回:
recon – Edge reconstruction distribution (\(n_{edges}\))