Skip to content

Instantly share code, notes, and snippets.

@tchaton
Last active December 6, 2020 19:02
Show Gist options
  • Save tchaton/e3e7744dcffa489155356cf37c955196 to your computer and use it in GitHub Desktop.
Save tchaton/e3e7744dcffa489155356cf37c955196 to your computer and use it in GitHub Desktop.
from torch_geometric.datasets import Planetoid
import torch_geometric.transforms as T
transform = T.NormalizeFeatures() # used to normalise
dataset = Planetoid(path, "Cora", transform=transform)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment