Skip to content

GNNChain doesn't work with layers that accept edge features #598

@ivanightingale

Description

@ivanightingale

Take the example in the documentation.

If we replace

l = GATv2Conv((in_channel, ein) => out_channel, add_self_loops = false)

with

l = GNNChain(GATv2Conv((in_channel, ein) => out_channel, add_self_loops = false))

then we will get a MethodError in the forward pass call y = l(g, x, e).

Versions

  • GraphNeuralNetworks.jl: v1.0.0

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