xnn.common.train.graphed.combine#

xnn.common.train.graphed.combine(planner, graphs)[source]#

The index plan of a batch from the plans of its structures (index_plan of each).

Every plan entry indexes one count of its structure (planner.offsets: "edges" for the edges, a plan size such as "emb_edges", or None for a slot that needs no offset), so the plans concatenate with the running counts added.

Parameters:
Return type:

Dict[str, Tensor]