H2GB.encoder.TransENodeEncoder

class TransENodeEncoder(dim_emb, dataset, reshape_x=True)[source]

Bases: HeteroPENodeEncoder

Knowledge Graph Embedding node encoder, based on the TransE model from the “Translating Embeddings for Modeling Multi-Relational Data” paper.