File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed
Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 11name = " PyGDatasets"
22uuid = " 44f67abd-f36e-4be4-bfe5-65f468a62b3d"
33authors = [" Carlo Lucibello <carlo.lucibello@gmail.com> and contributors" ]
4- version = " 0.1.1 "
4+ version = " 0.1.2 "
55
66[deps ]
77DLPack = " 53c2dc0f-f7d5-43fd-8906-6c0220547083"
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ load_dataset("MoleculeNet", name="ESOL")
5252
5353# heterographs
5454load_dataset (" IMDB" )
55- load_dataset (" AMiner " )
55+ load_dataset (" MovieLens100K " )
5656```
5757
5858## Dataset References
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ and return it as an [`InMemoryGNNDataset`](@ref) object.
77The keyword arguments `kws` are passed to the dataset constructor.
88
99See [`pygdata_to_gnngraph`](@ref) for details on the conversion of
10- PyTorch Geometric `Data` objects to `GNNGraph`s .
10+ PyTorch Geometric `Data` and `HeteroData` objects to `GNNGraph` and `GNNHeteroGraph` objects .
1111
1212For PyG datasets requiring a `root` argument, the default value
1313`"\$ (PyGDatasets.DEFAULT_ROOT[])/\$ name"` is provided if not specified.
@@ -21,11 +21,9 @@ This scratch space will be deleted when the package is removed.
2121# Examples
2222
2323```julia
24- load_dataset("TUDataset", root="./", name="MUTAG")
25- # is equivalent to the python code
26- # pyg.datasets.TUDataset(root="./", name="MUTAG")
27-
28- load_dataset("Planetoid", name="Cora")
24+ dataset = load_dataset("TUDataset", root="./", name="MUTAG")
25+ dataset = load_dataset("Planetoid", name="Cora") # use default root
26+ dataset = load_dataset("IMDB") # heterogenous graph dataset
2927```
3028"""
3129function load_dataset (dataset:: String ; root= nothing , kws... )
You can’t perform that action at this time.
0 commit comments