avalanche.evaluation.metrics.timing_metrics
- avalanche.evaluation.metrics.timing_metrics(*, minibatch=False, epoch=False, epoch_running=False, experience=False, stream=False) List[TimePluginMetric] [source]
Helper method that can be used to obtain the desired set of plugin metrics.
- Parameters:
minibatch – If True, will return a metric able to log the train minibatch elapsed time.
epoch – If True, will return a metric able to log the train epoch elapsed time.
epoch_running – If True, will return a metric able to log the running train epoch elapsed time.
experience – If True, will return a metric able to log the eval experience elapsed time.
stream – If True, will return a metric able to log the eval stream elapsed time.
- Returns:
A list of plugin metrics.