14 references to PairManipulator
Microsoft.ML.Core (7)
Utilities\VBufferUtils.cs (7)
513
/// Applies the <see cref="
PairManipulator
{TSrc,TDst}"/> to each pair of elements
524
public static void ApplyWith<TSrc, TDst>(in VBuffer<TSrc> src, ref VBuffer<TDst> dst,
PairManipulator
<TSrc, TDst> manip)
530
/// Applies the <see cref="
PairManipulator
{TSrc,TDst}"/> to each pair of elements
550
/// Applies the <see cref="
PairManipulator
{TSrc,TDst}"/> to each pair of elements
560
public static void ApplyWithEitherDefined<TSrc, TDst>(in VBuffer<TSrc> src, ref VBuffer<TDst> dst,
PairManipulator
<TSrc, TDst> manip)
566
/// Applies the <see cref="
PairManipulator
{TSrc,TDst}"/> to each pair of elements
589
private static void ApplyWithCore<TSrc, TDst>(in VBuffer<TSrc> src, ref VBuffer<TDst> dst,
PairManipulator
<TSrc, TDst> manip, bool outer)
Microsoft.ML.Core.Tests (5)
UnitTests\TestVBuffer.cs (5)
323
private static void NaiveApplyWith<T1, T2>(ref VBuffer<T1> a, ref VBuffer<T2> b, VBufferUtils.
PairManipulator
<T1, T2> manip)
352
VBufferUtils.
PairManipulator
<float, float> manip = (int ind, float av, ref float bv) => bv = 2 * bv + av - ind;
370
private static void NaiveApplyWithEither<T1, T2>(ref VBuffer<T1> a, ref VBuffer<T2> b, VBufferUtils.
PairManipulator
<T1, T2> manip)
395
VBufferUtils.
PairManipulator
<float, float> manip = (int ind, float av, ref float bv) => bv = 2 * bv + av - ind;
565
VBufferUtils.
PairManipulator
<float, float> manip =
Microsoft.ML.Data (2)
Evaluators\QuantileRegressionEvaluator.cs (2)
235
VBufferUtils.
PairManipulator
<float, Double> lossFn =
427
VBufferUtils.
PairManipulator
<Double, Double> sqr =