Skip to main content

Keras Graph Convolutional Network

Graph convolutional layers.

Install

pip install keras-gcn

Usage

GraphConv

from tensorflow import keras
from keras_gcn import GraphConv


DATA_DIM = 3

data_layer = keras.layers.Input(shape=(None, DATA_DIM))
edge_layer = keras.layers.Input(shape=(None, None))
conv_layer = GraphConv(
    units=32,
    step_num=1,
)([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.

Metadata

Release files for keras-gcn 0.15.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keras-gcn 0.15.0
File Size Uploaded Provenance Actions
keras-gcn-0.15.0.tar.gz 4.6 kB Without provenance Details for keras-gcn-0.15.0.tar.gz

Release files / keras-gcn-0.15.0.tar.gz

Download URL keras-gcn-0.15.0.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
2ff8911bbc34c1d69b96a17893dcf8214e3c36055dcbdc0c4c65479aa4ef5147
BLAKE2b-256 checksum
How to use checksums
118caabdf68946d86f3c71de1fa870ec1583d649a99f7d5b6c331a68d6dfdd64
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

Security for keras-gcn 0.15.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page