MCPcopy Create free account
hub / github.com/RUCDM/KB4Rec / forward_triple

Method forward_triple

Projects/UPGAN/code/Model/dot_2layer.py:103–123  ·  view source on GitHub ↗

:param heads: (B, ) :param rels: (B, ) :param tails: (B, N) :return:

(self, heads, rels, tails)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

get_emb_allMethod · 0.95
encode_kgMethod · 0.95
query_add_noiseMethod · 0.95

Tested by

no test coverage detected