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