Skip to content

Commit 9757c50

Browse files
Add REDDIT-MULTI-datasets
1 parent e349d63 commit 9757c50

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

src/TUDatasets.jl

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -317,6 +317,8 @@ function __init__()
317317
IMDB_BINARYDataset(),
318318
IMDB_MULTIDataset(),
319319
REDDIT_BINARYDataset(),
320+
REDDIT_MULTI_5KDataset(),
321+
REDDIT_MULTI_12KDataset(),
320322
COLORS_3Dataset(),
321323
QM9Dataset(),
322324
SYNTHETICDataset(),
@@ -870,6 +872,38 @@ graph_eltype(::REDDIT_BINARYDataset) = Int16
870872

871873
graph_labels_type(::REDDIT_BINARYDataset) = Tuple{Int8}
872874

875+
## --------------------------------------
876+
## REDDIT-MULTI-5K
877+
## --------------------------------------
878+
879+
struct REDDIT_MULTI_5KDataset <: TUDataset end
880+
881+
dataset_name(::REDDIT_MULTI_5KDataset) = "REDDIT-MULTI-5K"
882+
883+
dataset_hash(::REDDIT_MULTI_5KDataset) = "68587783c33d54dd6107a1fc101594fd2b9d1af4e99cafe733636f383ae0c8ee"
884+
885+
dataset_references(::REDDIT_MULTI_5KDataset) = [14]
886+
887+
graph_eltype(::REDDIT_MULTI_5KDataset) = Int16
888+
889+
graph_labels_type(::REDDIT_MULTI_5KDataset) = Tuple{Int8}
890+
891+
## --------------------------------------
892+
## REDDIT-MULTI-12K
893+
## --------------------------------------
894+
895+
struct REDDIT_MULTI_12KDataset <: TUDataset end
896+
897+
dataset_name(::REDDIT_MULTI_12KDataset) = "REDDIT-MULTI-12K"
898+
899+
dataset_hash(::REDDIT_MULTI_12KDataset) = "dc133043edae3df088a4bfbd09595f105c0a6e2df533662b6ddc7d3268b5b49b"
900+
901+
dataset_references(::REDDIT_MULTI_12KDataset) = [14]
902+
903+
graph_eltype(::REDDIT_MULTI_12KDataset) = Int16
904+
905+
graph_labels_type(::REDDIT_MULTI_12KDataset) = Tuple{Int8}
906+
873907
## --------------------------------------
874908
## COLORS-3
875909
## --------------------------------------

0 commit comments

Comments
 (0)