Min
- class cubie.outputhandling.summarymetrics.min.Min(precision)[source]
Bases:
SummaryMetricSummary metric that tracks the minimum value of a variable.
Notes
A single buffer slot stores the running minimum. The buffer resets to
1.0e30after each save so any new value can replace it.- build() MetricFuncCache[source]
Generate CUDA device functions for minimum value calculation.
- Returns:
Cache containing the device update and save callbacks.
- Return type:
MetricFuncCache
Notes
The update callback keeps the running minimum while the save callback writes the result and resets the buffer sentinel.