NewtonTiming#
- class t3toolbox.backend.optimizers.NewtonTiming#
NewtonInfo.timing: one history row’s times, set bynewton_cg(timing=True)(elseNone).windowis the row’swall_timewindow, the same float on a step row; the converged row, which has nowall_time, gets one too.secondssplits it by phase (PhaseSeconds);compile_secondsgives jax’s compile wait inside each phase (Noneon a numpy run, and on a jax whosejax.monitoringcannot unregister a listener).trialscounts the retractions tried (Noneon the converged row) andaccepted_retractionis the accepted trial’s share oftrial_retraction(Nonewhen none was accepted).Row 0 also carries the run’s one-offs (
Noneon later rows):setup(the entry to the loop, the alignment excluded),alignment(padded_from’s padded start) and their compile twins;alignment_passesandreference_passes, the seconds per pass of the alignment and of the'cone'reference’s loop, breakdowns ofalignmentand ofseconds.reference(Nonewhen the geometry member cannot report them, e.g. under the uniform whole-loop jit).- window: float#
- seconds: PhaseSeconds#
- compile_seconds: t3toolbox.backend.common.typ.Optional[PhaseSeconds]#
- trials: t3toolbox.backend.common.typ.Optional[int]#
- accepted_retraction: t3toolbox.backend.common.typ.Optional[float]#
- setup: t3toolbox.backend.common.typ.Optional[float] = None#
- setup_compile: t3toolbox.backend.common.typ.Optional[float] = None#
- alignment: t3toolbox.backend.common.typ.Optional[float] = None#
- alignment_compile: t3toolbox.backend.common.typ.Optional[float] = None#
- alignment_passes: t3toolbox.backend.common.typ.Optional[t3toolbox.backend.common.typ.Tuple[float, ...]] = None#
- reference_passes: t3toolbox.backend.common.typ.Optional[t3toolbox.backend.common.typ.Tuple[float, ...]] = None#