12 references to ElementWiseSelect
System.Numerics.Tensors (12)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (3)
100
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, currentNegative);
108
result =
ElementWiseSelect
(useResult, result, current);
109
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMaxMagnitude.cs (3)
100
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, currentNegative);
108
result =
ElementWiseSelect
(useResult, result, current);
109
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMin.cs (3)
97
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, resultNegative);
105
result =
ElementWiseSelect
(useResult, result, current);
106
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMinMagnitude.cs (3)
100
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, resultNegative);
108
result =
ElementWiseSelect
(useResult, result, current);
109
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);