MCPcopy Create free account
hub / github.com/DeepGraphLearning/graphvite / FOR

Method FOR

include/instance/model/knowledge_graph.h:362–365  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360 float l3_regularization) {
361 output = 0;
362 FOR(i, dim) {
363 int j = i ^ 1;
364 output += head[i] * relation[i] * tail[j];
365 }
366 output = SUM(output);
367 }
368

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected