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