SYMBOL INDEX (209 symbols across 25 files) FILE: initial.py function pos_embed (line 19) | def pos_embed(x): function find_index (line 22) | def find_index(x,y): function init_word (line 28) | def init_word(): function init_relation (line 94) | def init_relation(): function sort_files (line 120) | def sort_files(name, limit): function init_train_files (line 154) | def init_train_files(name, limit): function init_kg (line 224) | def init_kg(): FILE: jointD/init.cpp function setInPath (line 14) | void setInPath(char *path) { type Triple (line 25) | struct Triple { type cmp_head (line 29) | struct cmp_head { type cmp_tail (line 35) | struct cmp_tail { type cmp_list (line 41) | struct cmp_list { method minimal (line 42) | int minimal(int a,int b) { function init (line 57) | void init() { function getEntityTotal (line 142) | int getEntityTotal() { function getRelationTotal (line 147) | int getRelationTotal() { function getTripleTotal (line 152) | int getTripleTotal() { function randd (line 159) | unsigned long long randd(int id) { function rand_max (line 164) | int rand_max(int id, int x) { function corrupt_head (line 171) | int corrupt_head(int id, int h, int r) { function corrupt_tail (line 203) | int corrupt_tail(int id, int t, int r) { function getBatch (line 236) | void getBatch(int *ph, int *pt, int *pr, int *nh, int *nt, int *nr, int ... FILE: jointD/network.py class NN (line 7) | class NN(object): method calc (line 9) | def calc(self, e, t, r): method __init__ (line 12) | def __init__(self, is_training, word_embeddings, simple_position = Fal... method transfer (line 109) | def transfer(self, x): method att (line 113) | def att(self, x, is_training = True, dropout = True): method katt (line 129) | def katt(self, x, is_training = True, dropout = True): method att_test (line 150) | def att_test(self, x, is_training = False): method katt_test (line 154) | def katt_test(self, x, is_training = False): class CNN (line 170) | class CNN(NN): method __init__ (line 172) | def __init__(self, is_training, word_embeddings, simple_position = Fal... class PCNN (line 213) | class PCNN(NN): method __init__ (line 215) | def __init__(self, is_training, word_embeddings, simple_position = Fal... class RNN (line 257) | class RNN(NN): method get_rnn_cell (line 259) | def get_rnn_cell(self, dim, cell_name = 'lstm'): method __init__ (line 271) | def __init__(self, is_training, word_embeddings, cell_name, simple_pos... class BiRNN (line 315) | class BiRNN(NN): method get_rnn_cell (line 317) | def get_rnn_cell(self, dim, cell_name = 'lstm'): method __init__ (line 329) | def __init__(self, is_training, word_embeddings, cell_name, simple_pos... FILE: jointD/pr_plot.py function guolv (line 18) | def guolv(recall, precision): function PrecisionAtRecall (line 38) | def PrecisionAtRecall(pAll, rAll, rMark): FILE: jointD/test.py function make_shape (line 52) | def make_shape(array,last_dim): function main (line 64) | def main(_): FILE: jointD/train.py function MakeSummary (line 53) | def MakeSummary(name, value): function make_shape (line 61) | def make_shape(array,last_dim): function main (line 72) | def main(_): FILE: jointE/KATT/init.cpp function setInPath (line 14) | void setInPath(char *path) { type Triple (line 25) | struct Triple { type cmp_head (line 29) | struct cmp_head { type cmp_tail (line 35) | struct cmp_tail { type cmp_list (line 41) | struct cmp_list { method minimal (line 42) | int minimal(int a,int b) { function init (line 57) | void init() { function getEntityTotal (line 142) | int getEntityTotal() { function getRelationTotal (line 147) | int getRelationTotal() { function getTripleTotal (line 152) | int getTripleTotal() { function randd (line 159) | unsigned long long randd(int id) { function rand_max (line 164) | int rand_max(int id, int x) { function corrupt_head (line 171) | int corrupt_head(int id, int h, int r) { function corrupt_tail (line 203) | int corrupt_tail(int id, int t, int r) { function getBatch (line 236) | void getBatch(int *ph, int *pt, int *pr, int *nh, int *nt, int *nr, int ... FILE: jointE/KATT/network.py class NN (line 7) | class NN(object): method __init__ (line 9) | def __init__(self, is_training, word_embeddings, simple_position = Fal... method transfer (line 95) | def transfer(self, x): method att (line 99) | def att(self, x, is_training = True, dropout = True): method katt (line 115) | def katt(self, x, is_training = True, dropout = True): method att_test (line 133) | def att_test(self, x, is_training = False): method katt_test (line 137) | def katt_test(self, x, is_training = False): class CNN (line 146) | class CNN(NN): method __init__ (line 148) | def __init__(self, is_training, word_embeddings, simple_position = Fal... class PCNN (line 189) | class PCNN(NN): method __init__ (line 191) | def __init__(self, is_training, word_embeddings, simple_position = Fal... class RNN (line 233) | class RNN(NN): method get_rnn_cell (line 235) | def get_rnn_cell(self, dim, cell_name = 'lstm'): method __init__ (line 247) | def __init__(self, is_training, word_embeddings, cell_name, simple_pos... class BiRNN (line 291) | class BiRNN(NN): method get_rnn_cell (line 293) | def get_rnn_cell(self, dim, cell_name = 'lstm'): method __init__ (line 305) | def __init__(self, is_training, word_embeddings, cell_name, simple_pos... FILE: jointE/KATT/pr_plot.py function guolv (line 18) | def guolv(recall, precision): function PrecisionAtRecall (line 38) | def PrecisionAtRecall(pAll, rAll, rMark): FILE: jointE/KATT/test.py function make_shape (line 52) | def make_shape(array,last_dim): function main (line 64) | def main(_): FILE: jointE/KATT/train.py function MakeSummary (line 53) | def MakeSummary(name, value): function make_shape (line 61) | def make_shape(array,last_dim): function main (line 72) | def main(_): FILE: jointE/SATT/init.cpp function setInPath (line 14) | void setInPath(char *path) { type Triple (line 25) | struct Triple { type cmp_head (line 29) | struct cmp_head { type cmp_tail (line 35) | struct cmp_tail { type cmp_list (line 41) | struct cmp_list { method minimal (line 42) | int minimal(int a,int b) { function init (line 57) | void init() { function getEntityTotal (line 142) | int getEntityTotal() { function getRelationTotal (line 147) | int getRelationTotal() { function getTripleTotal (line 152) | int getTripleTotal() { function randd (line 159) | unsigned long long randd(int id) { function rand_max (line 164) | int rand_max(int id, int x) { function corrupt_head (line 171) | int corrupt_head(int id, int h, int r) { function corrupt_tail (line 203) | int corrupt_tail(int id, int t, int r) { function getBatch (line 236) | void getBatch(int *ph, int *pt, int *pr, int *nh, int *nt, int *nr, int ... FILE: jointE/SATT/network.py class NN (line 7) | class NN(object): method __init__ (line 9) | def __init__(self, is_training, word_embeddings, simple_position = Fal... method transfer (line 116) | def transfer(self, x): method att (line 120) | def att(self, x, is_training = True, dropout = True): method katt (line 136) | def katt(self, x, is_training = True, dropout = True): method satt (line 154) | def satt(self, x): method att_test (line 181) | def att_test(self, x, is_training = False): method katt_test (line 185) | def katt_test(self, x, is_training = False): class CNN (line 194) | class CNN(NN): method __init__ (line 196) | def __init__(self, is_training, word_embeddings, simple_position = Fal... class PCNN (line 237) | class PCNN(NN): method __init__ (line 239) | def __init__(self, is_training, word_embeddings, simple_position = Fal... class RNN (line 281) | class RNN(NN): method get_rnn_cell (line 283) | def get_rnn_cell(self, dim, cell_name = 'lstm'): method __init__ (line 295) | def __init__(self, is_training, word_embeddings, cell_name, simple_pos... class BiRNN (line 339) | class BiRNN(NN): method get_rnn_cell (line 341) | def get_rnn_cell(self, dim, cell_name = 'lstm'): method __init__ (line 353) | def __init__(self, is_training, word_embeddings, cell_name, simple_pos... FILE: jointE/SATT/pr_plot.py function guolv (line 18) | def guolv(recall, precision): function PrecisionAtRecall (line 38) | def PrecisionAtRecall(pAll, rAll, rMark): FILE: jointE/SATT/train.py function MakeSummary (line 72) | def MakeSummary(name, value): function make_shape (line 80) | def make_shape(array,last_dim): function main (line 91) | def main(_): FILE: original/baselines/test/init_cnn.cpp function rand (line 12) | float rand(float min, float max) { function normal (line 16) | float normal(float x, float miu,float sigma) { function randn (line 20) | float randn(float miu,float sigma, float min ,float max) { type Tip (line 38) | struct Tip { function setNA (line 53) | void setNA(int con) { function getPosition (line 57) | int getPosition(int position) { function readWordVec (line 64) | void readWordVec() { function getWordVec (line 91) | void getWordVec(float *con) { function batch_iter (line 98) | int batch_iter(int *x_batch, int *p_h_batch, int *p_t_batch, int *y_batc... function getTipTotal (line 132) | int getTipTotal() { function getLenLimit (line 137) | int getLenLimit() { function getRelationTotal (line 142) | int getRelationTotal() { function getWordTotal (line 147) | int getWordTotal() { function getPositionLimit (line 152) | int getPositionLimit() { function getWordDimension (line 157) | int getWordDimension() { function getInstanceTot (line 162) | int getInstanceTot() { function readFromFile (line 167) | void readFromFile() { function main (line 205) | int main() { FILE: original/baselines/test/init_know.cpp type Triple (line 16) | struct Triple { type cmp_head (line 20) | struct cmp_head { type cmp_tail (line 26) | struct cmp_tail { type cmp_list (line 32) | struct cmp_list { method minimal (line 33) | int minimal(int a,int b) { function init (line 48) | void init() { function getEntityTotal (line 130) | int getEntityTotal() { function getRelationTotal (line 135) | int getRelationTotal() { function getTripleTotal (line 140) | int getTripleTotal() { function randd (line 147) | unsigned long long randd(int id) { function rand_max (line 152) | int rand_max(int id, int x) { function corrupt_head (line 159) | int corrupt_head(int id, int h, int r) { function corrupt_tail (line 191) | int corrupt_tail(int id, int t, int r) { function getBatch (line 224) | void getBatch(int *ph, int *pt, int *pr, int *nh, int *nt, int *nr, int ... function main (line 254) | int main() { FILE: original/baselines/test/test_JointD+ATT.py class Config (line 16) | class Config(object): method __init__ (line 17) | def __init__(self): class Model (line 38) | class Model(object): method calc (line 41) | def calc(self, e, t, r): method __init__ (line 44) | def __init__(self, config): function train_step_cnn (line 220) | def train_step_cnn(x_batch, p_h_batch, p_t_batch, y_batch, r_batch, r_n_... FILE: original/baselines/test/test_JointD+ONE.py class Config (line 16) | class Config(object): method __init__ (line 17) | def __init__(self): class Model (line 38) | class Model(object): method calc (line 41) | def calc(self, e, t, r): method __init__ (line 44) | def __init__(self, config): function train_step_cnn (line 214) | def train_step_cnn(x_batch, p_h_batch, p_t_batch, y_batch, r_batch, r_n_... FILE: original/baselines/test/test_JointE+ATT.py class Config (line 16) | class Config(object): method __init__ (line 17) | def __init__(self): class Model (line 38) | class Model(object): method __init__ (line 40) | def __init__(self, config): function train_step_cnn (line 198) | def train_step_cnn(x_batch, p_h_batch, p_t_batch, y_batch, r_batch, r_n_... FILE: original/baselines/test/test_JointE+ONE.py class Config (line 16) | class Config(object): method __init__ (line 17) | def __init__(self): class Model (line 38) | class Model(object): method __init__ (line 40) | def __init__(self, config): function train_step_cnn (line 193) | def train_step_cnn(x_batch, p_h_batch, p_t_batch, y_batch, r_batch, r_n_... FILE: original/baselines/train/JointD+ATT.py class Config (line 16) | class Config(object): method __init__ (line 17) | def __init__(self): class Model (line 40) | class Model(object): method calc (line 42) | def calc(self, e, t, r): method __init__ (line 46) | def __init__(self, config): function outEmbedding (line 209) | def outEmbedding(str1): function train_cnn (line 249) | def train_cnn(coord): function train_kg (line 316) | def train_kg(coord): FILE: original/baselines/train/JointD+ONE.py class Config (line 16) | class Config(object): method __init__ (line 17) | def __init__(self): class Model (line 40) | class Model(object): method calc (line 42) | def calc(self, e, t, r): method __init__ (line 46) | def __init__(self, config): function outEmbedding (line 203) | def outEmbedding(str1): function train_cnn (line 243) | def train_cnn(coord): function train_kg (line 310) | def train_kg(coord): FILE: original/baselines/train/JointE+ATT.py class Config (line 16) | class Config(object): method __init__ (line 17) | def __init__(self): class Model (line 40) | class Model(object): method __init__ (line 42) | def __init__(self, config): function outEmbedding (line 187) | def outEmbedding(str1): function train_cnn (line 223) | def train_cnn(coord): function train_kg (line 290) | def train_kg(coord): FILE: original/baselines/train/JointE+ONE.py class Config (line 16) | class Config(object): method __init__ (line 17) | def __init__(self): class Model (line 40) | class Model(object): method __init__ (line 42) | def __init__(self, config): function outEmbedding (line 182) | def outEmbedding(str1): function train_cnn (line 218) | def train_cnn(coord): function train_kg (line 285) | def train_kg(coord):