__init__(self, ent_tot, rel_tot, dim=100, p_norm=1, norm_flag=True, margin=None, epsilon=None) (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
_calc(self, h, t, r, mode) (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | protected |
dim (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
embedding_range (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
ent_embeddings (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
epsilon (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
forward(self, data) (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
margin (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
margin (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
margin_flag (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
norm_flag (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
p_norm (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
predict(self, data) (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
regularization(self, data) (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |
rel_embeddings (defined in OpenKE.module.model.TransE.TransE) | OpenKE.module.model.TransE.TransE | |