MCPcopy
hub / github.com/THUDM/CogDL / test_injection.py

File test_injection.py

examples/GRB/test_injection.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from cogdl.datasets.grb_data import Cora_GRBDataset
2from cogdl.utils import set_random_seed
3from cogdl.utils.grb_utils import evaluate, GCNAdjNorm
4import copy

Callers

nothing calls this directly

Calls 12

Cora_GRBDatasetClass · 0.90
set_random_seedFunction · 0.90
GCNClass · 0.90
fetch_model_wrapperFunction · 0.90
fetch_data_wrapperFunction · 0.90
TrainerClass · 0.90
evaluateFunction · 0.90
FGSMClass · 0.90
getMethod · 0.45
toMethod · 0.45
runMethod · 0.45
attackMethod · 0.45

Tested by

no test coverage detected