GCN
- class dhg.models.GCN(*args, **kwargs)[source]
Bases:
torch.nn.Module
The GCN model proposed in Semi-Supervised Classification with Graph Convolutional Networks paper (ICLR 2017).
- Parameters
in_channels (
int
) – \(C_{in}\) is the number of input channels.hid_channels (
int
) – \(C_{hid}\) is the number of hidden channels.num_classes (
int
) – The Number of class of the classification task.use_bn (
bool
) – If set toTrue
, use batch normalization. Defaults toFalse
.drop_rate (
float
) – Dropout ratio. Defaults to0.5
.