(g, idtype)
| 413 | @parametrize_idtype |
| 414 | @pytest.mark.parametrize("g", get_cases(["homo"], exclude=["zero-degree"])) |
| 415 | def test_appnp_conv(g, idtype): |
| 416 | ctx = F.ctx() |
| 417 | g = g.astype(idtype).to(ctx) |
| 418 | appnp = nn.APPNPConv(10, 0.1) |
| 419 | feat = F.randn((g.num_nodes(), 5)) |
| 420 | |
| 421 | h = appnp(g, feat) |
| 422 | assert h.shape[-1] == 5 |
| 423 | |
| 424 | |
| 425 | @parametrize_idtype |
no test coverage detected