- class avalanche.benchmarks.scenarios.ExperienceAttribute(value: T, use_in_train: bool = False, use_in_eval: bool = False)¶
Experience attributes are used to define data belonging to an experience which may only be available at train or eval time.
For example, experiences often keep a reference to the entire stream, which should be accessible only by the loggers and evaluation system, but should never be used by the strategy in the train/eval loops.
- __init__(value: T, use_in_train: bool = False, use_in_eval: bool = False)¶
value – attribute value.
use_in_train – if True the attribute is available at training time.
use_in_eval – if True the attribute is available at evaluation time.
__init__(value[, use_in_train, use_in_eval])