avalanche.evaluation.metrics.cpu_usage_metrics
- avalanche.evaluation.metrics.cpu_usage_metrics(*, minibatch=False, epoch=False, epoch_running=False, experience=False, stream=False) List[CPUPluginMetric] [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 minibatch CPU usage
epoch – If True, will return a metric able to log the epoch CPU usage
epoch_running – If True, will return a metric able to log the running epoch CPU usage.
experience – If True, will return a metric able to log the experience CPU usage.
stream – If True, will return a metric able to log the evaluation stream CPU usage.
- Returns:
A list of plugin metrics.