Skip to content
heliaEDGE
Reference
HELIA

source

Random-access record sources.

Machine-readable model

  • T_coattribute
  • DataSourceclassRecords addressed by index, such as a list or a Grain source.
class

Records addressed by index, such as a list or a Grain source.

helia_edge/data/source.py:8

DataSource()

Records addressed by index, such as a list or a Grain source.

source[i] must return the same record for the same i so that a seed fixes the order and the augmentation of every epoch.