PyGCL / PyGCL

PyGCL: A PyTorch Library for Graph Contrastive Learning

Home Page:https://PyGCL.readthedocs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

feature dropout

cxw-droid opened this issue · comments

Hi, thank you for you code.

return F.dropout(x, p=1. - drop_prob)

May I know why you set the F.dropout probability to 1. - drop_prob instead of the original drop_prob? I.e., why the code here is not return F.dropout(x, p=drop_prob)? Thanks.