8 references to ApplyWithEitherDefined
Microsoft.ML.Core (3)
Utilities\VBufferUtils.cs (3)
585
/// <see cref="
ApplyWithEitherDefined
{TSrc,TDst}"/>, that has internal branches on the implementation
1120
/// <see cref="ApplyWith{TSrc,TDst}"/> and <see cref="
ApplyWithEitherDefined
{TSrc,TDst}"/>. Post-operation,
1124
/// <seealso cref="
ApplyWithEitherDefined
{TSrc,TDst}"/>
Microsoft.ML.Core.Tests (2)
UnitTests\TestVBuffer.cs (2)
368
/// A trivial inefficient implementation equivalent to <see cref="VBufferUtils.
ApplyWithEitherDefined
"/>.
405
VBufferUtils.
ApplyWithEitherDefined
(in a, ref b, manip);
Microsoft.ML.Data (1)
Deprecated\Vector\VectorUtils.cs (1)
170
VBufferUtils.
ApplyWithEitherDefined
(in a, ref dst, (int ind, float v1, ref float v2) => { v2 *= v1; });
Microsoft.ML.StandardTrainers (2)
Optimizer\Optimizer.cs (1)
295
VBufferUtils.
ApplyWithEitherDefined
(in _steepestDescDir, ref _dir,
Standard\LogisticRegression\LbfgsPredictorBase.cs (1)
785
VBufferUtils.
ApplyWithEitherDefined
(in x, ref gradient,