ScoreTimerStat#

class scio.utils.misc.ScoreTimerStat(op, n_samples, duration, params)[source]#

Bases: NamedTuple

Timing statistic element for ScoreTimer.

Fields:
  • op (ScoreTimerOperation) – The operation that was timed. See ScoreTimerOperation.

  • n_samples (int) – The number of samples that were processed.

  • duration (float) – The duration of the timed execution.

  • params (MappingProxyType[str, object]) – The score parameters at the beginning of the execution.