表示

表示模块。

Representation(max_id[, shape, normalizer, ...])

用于获取实体/关系表示的基础类。

Embedding([max_id, num_embeddings, ...])

可训练的嵌入。

LowRankRepresentation(*, max_id, shape, ...)

低秩嵌入分解。

CompGCNLayer(input_dim, output_dim, dropout, ...)

CompGCN模型的单层。

CombinedCompGCNRepresentations(*, ...[, ...])

一系列CompGCN层。

PartitionRepresentation(assignment[, shape, ...])

将索引划分为不同的表示模块。

BackfillRepresentation(max_id, base_ids[, ...])

一种分区表示的变体,易于应用于单一基础表示。

SingleCompGCNRepresentation(combined[, ...])

组合表示模块的封装器。

SubsetRepresentation(max_id[, base, ...])

一个表示模块,它仅暴露其基础表示的一个子集。

CombinedRepresentation(max_id[, shape, ...])

一个组合的表示。

TensorTrainRepresentation([assignment, ...])

表示的张量分解。

TransformedRepresentation(transformation[, ...])

对基础表示进行的(可学习的)转换。

TextRepresentation(标签[, 最大ID, 形状, ...])

在标签上使用文本编码器的文本表示。

CachedTextRepresentation(identifiers[, cache])

具有标识符的数据集的文本表示,可以使用TextCache进行查找。

WikidataTextRepresentation(标识符[, 缓存])

基于Wikidata的数据集的文本表示。

BiomedicalCURIERepresentation(identifiers[, ...])

基于生物医学CURIEs的数据集的文本表示。

类继承图

Inheritance diagram of pykeen.nn.representation.Representation, pykeen.nn.representation.Embedding, pykeen.nn.representation.LowRankRepresentation, pykeen.nn.representation.CompGCNLayer, pykeen.nn.representation.CombinedCompGCNRepresentations, pykeen.nn.representation.PartitionRepresentation, pykeen.nn.representation.BackfillRepresentation, pykeen.nn.representation.SingleCompGCNRepresentation, pykeen.nn.representation.SubsetRepresentation, pykeen.nn.representation.CombinedRepresentation, pykeen.nn.representation.TensorTrainRepresentation, pykeen.nn.representation.TransformedRepresentation, pykeen.nn.representation.TextRepresentation, pykeen.nn.representation.CachedTextRepresentation, pykeen.nn.representation.WikidataTextRepresentation, pykeen.nn.representation.BiomedicalCURIERepresentation