tglite.TBatch.times

TBatch.times(include_dsts=True, include_negs=True) ndarray
Returns timestamps corresponding to the nodes. It retrieves timestamps of the batch edges (as the timestamps for source nodes),

repeating the timestamps to include destination nodes and negative nodes.

Parameters:
  • include_dst (bool) – Whether to include destination nodes of the edges as positive nodes.

  • include_negs (bool) – Whether to include negative nodes.