xnn.common.train.graphed.Capacity#

class xnn.common.train.graphed.Capacity(atoms, edges, plan)[source]#

Bases: object

The fixed counts of a padded batch.

Variables:
  • edges (atoms,) – Atoms and edges, real and padding.

  • plan (dict of str to int) – The sizes of the index plan (e.g. {"triplets": ...}).

Parameters: