Skip to content

Stack Layers in a HeteroGraphConv Model #541

@marthinkondjeni

Description

@marthinkondjeni

How can do I stack a Dense layer or add more convolutional layers to the HeteroGraphConv layer in the code below?

using Flux

using GraphNeuralNetworks

using GNNGraphs

 g = rand_heterograph((:user => 10, :movie => 20), (:user, :rate, :movie) => 30)

x = (user = rand(Float32, 64, 10), movie = rand(Float32, 64, 20));

layer = HeteroGraphConv((:user, :rate, :movie) => GraphConv(64 => 32, relu))

y = layer(g, x)

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