gae-pytorch
gae-pytorch copied to clipboard
Some question of InnerProductDecoder?
self.dc = InnerProductDecoder(dropout, act=lambda x: x)
Why not use act=torch.sigmoid
here?
sigmoid has been incorporated into the loss function
cost = norm * F.binary_cross_entropy_with_logits(preds, labels, pos_weight=pos_weight)