MCPcopy Create free account
hub / github.com/HanHan55/Graph2plan / forward

Method forward

Interface/model/graph.py:58–122  ·  view source on GitHub ↗

Inputs: - obj_vecs: FloatTensor of shape (O, D) giving vectors for all objects - pred_vecs: FloatTensor of shape (T, D) giving vectors for all predicates - edges: LongTensor of shape (T, 2) where edges[k] = [i, j] indicates the presence of a triple [obj_vec

(self, obj_vecs, pred_vecs, edges)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected