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

Method forward_batch

Projects/UPGAN/code/Model/DistMult.py:82–106  ·  view source on GitHub ↗

:param heads: (B,) :param rels: (B,) :param tails: (B.) :param e1_embedded_user:(B, emb) :return:

(self, heads, rels, tails, user_rep=None)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

encode_kgMethod · 0.95

Tested by

no test coverage detected