4 references to Sum
Microsoft.Extensions.Diagnostics.Testing (1)
Metrics\MeasurementExtensions.cs (1)
75
IEnumerable<CollectedMeasurement<float>> l => (T)(object)l.
Sum
(m => m.Value),
Microsoft.ML.Core.Tests (3)
UnitTests\TestVBuffer.cs (3)
96
float sum = a.Items().
Sum
(iv => iv.Value);
97
float l1 = a.Items().
Sum
(iv => Math.Abs(iv.Value));
98
float l2Squared = a.Items().
Sum
(iv => iv.Value * iv.Value);