Skip to main content

Graph convolutional layers

Project description

Keras Graph Convolutional Network

Travis Coverage PyPI

Graph convolutional layers.


pip install keras-gcn



import keras
from keras_gru import GraphConv


data_layer = keras.layers.Input(shape=(None, DATA_DIM))
edge_layer = keras.layers.Input(shape=(None, None))
conv_layer = GraphConv(
)([data_layer, edge_layer])

step_num is the maximum distance of two nodes that could be considered as neighbors. If step_num is greater than 1, then the inputs of edges must be 0-1 matrices.

GraphMaxPool & GraphAveragePool

Pooling layers with the step_num argument.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for keras-gcn, version 0.14.0
Filename, size File type Python version Upload date Hashes
Filename, size keras-gcn-0.14.0.tar.gz (5.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page