BackendRerankingOutput constructor
BackendRerankingOutput({})
Snapshots scores and labels; every row has one value per label.
Implementation
BackendRerankingOutput({
required List<List<double>> scores,
required List<String?> classifierLabels,
}) : scores = List<List<double>>.unmodifiable(
scores.map((row) => List<double>.unmodifiable(row)),
),
classifierLabels = List<String?>.unmodifiable(classifierLabels);