Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/thunlp/OpenKE
/ train_rotate_WN18RR_adv.py
File
train_rotate_WN18RR_adv.py
examples/train_rotate_WN18RR_adv.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
openke
2
from
openke.config
import
Trainer, Tester
3
from
openke.module.model
import
RotatE
4
from
openke.module.loss
import
SigmoidLoss
Callers
nothing calls this directly
Calls
14
TrainDataLoader
Class · 0.90
TestDataLoader
Class · 0.90
RotatE
Class · 0.90
NegativeSampling
Class · 0.90
SigmoidLoss
Class · 0.90
Trainer
Class · 0.90
Tester
Class · 0.90
run
Method · 0.80
save_checkpoint
Method · 0.80
load_checkpoint
Method · 0.80
run_link_prediction
Method · 0.80
get_ent_tot
Method · 0.45
Tested by
no test coverage detected