"examples/python-dockerit/Modelfile" did not exist on "1363f537ce0331ab6c09238795960a01c8560d36"
Unverified Commit a9f2acf3 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files

[Misc] Black auto fix. (#4641)



* [Misc] Black auto fix.

* sort
Co-authored-by: default avatarSteve <ubuntu@ip-172-31-34-29.ap-northeast-1.compute.internal>
parent 08c50eb7
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
...@@ -6,20 +6,23 @@ Paper: https://arxiv.org/abs/1810.05997 ...@@ -6,20 +6,23 @@ Paper: https://arxiv.org/abs/1810.05997
Author's code: https://github.com/klicperajo/ppnp Author's code: https://github.com/klicperajo/ppnp
""" """
import torch.nn as nn import torch.nn as nn
from dgl.nn.pytorch.conv import APPNPConv from dgl.nn.pytorch.conv import APPNPConv
class APPNP(nn.Module): class APPNP(nn.Module):
def __init__(self, def __init__(
g, self,
in_feats, g,
hiddens, in_feats,
n_classes, hiddens,
activation, n_classes,
feat_drop, activation,
edge_drop, feat_drop,
alpha, edge_drop,
k): alpha,
k,
):
super(APPNP, self).__init__() super(APPNP, self).__init__()
self.g = g self.g = g
self.layers = nn.ModuleList() self.layers = nn.ModuleList()
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment