Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
from
cogdl.datasets.grb_data
import
Cora_GRBDataset
2
from
cogdl.utils
import
set_random_seed
3
from
cogdl.utils.grb_utils
import
evaluate, GCNAdjNorm
4
import
copy
Callers
nothing calls this directly
Calls
12
Cora_GRBDataset
Class · 0.90
set_random_seed
Function · 0.90
GCN
Class · 0.90
fetch_model_wrapper
Function · 0.90
fetch_data_wrapper
Function · 0.90
Trainer
Class · 0.90
evaluate
Function · 0.90
FGSM
Class · 0.90
get
Method · 0.45
to
Method · 0.45
run
Method · 0.45
attack
Method · 0.45
Tested by
no test coverage detected