HGNN — DHG 0.9.5 documentation
- class dhg.models.HGNN(*args, **kwargs)[source]
Bases:
torch.nn.ModuleThe HGNN model proposed in Hypergraph Neural Networks paper (AAAI 2019).
- 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, optional) – Dropout ratio. Defaults to 0.5.