Skip to content

Pooling over heterographs #622

@lenianiva

Description

@lenianiva

Is there a way to make the GlobalPool layer work for GNNHeteroGraphs? I only need to pool over one kind of nodes.

My current solution:

x = NNlib.scatter(model.pool.aggr, x[:kind], graph_indicator(g, :kind))

Is there a way to pool over all types of nodes or some types of nodes?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions