def test(outputs, vertex_count):
    (logits, accs) = (outputs, [])
    for mask in [g_data.g.train_mask, g_data.g.val_mask, g_data.g.test_mask]:
        pred = logits[mask].max(1)[1]
        acc = (pred.eq(g_data.g.labels[mask]).sum().item() / mask.sum().item())
        accs.append(acc)
    return accs
def test(outputs, vertex_count):
    (logits, accs) = (outputs, [])
    for mask in [g_data.g.train_mask, g_data.g.val_mask, g_data.g.test_mask]:
        pred = logits[mask].max(1)[1]
        acc = (pred.eq(g_data.g.labels[mask]).sum().item() / mask.sum().item())
        accs.append(acc)
    return accs