gae-pytorch icon indicating copy to clipboard operation
gae-pytorch copied to clipboard

Some question of InnerProductDecoder?

Open wzc118 opened this issue 6 years ago • 1 comments

self.dc = InnerProductDecoder(dropout, act=lambda x: x) Why not use act=torch.sigmoidhere?

wzc118 avatar Jan 21 '19 09:01 wzc118

sigmoid has been incorporated into the loss function cost = norm * F.binary_cross_entropy_with_logits(preds, labels, pos_weight=pos_weight)

zfjsail avatar Jan 22 '19 02:01 zfjsail