12 references to ElementWiseSelect
System.Numerics.Tensors (12)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (3)
48
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, currentNegative);
56
result =
ElementWiseSelect
(useResult, result, current);
57
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMaxMagnitude.cs (3)
46
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, currentNegative);
54
result =
ElementWiseSelect
(useResult, result, current);
55
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMin.cs (3)
45
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, resultNegative);
53
result =
ElementWiseSelect
(useResult, result, current);
54
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMinMagnitude.cs (3)
46
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, resultNegative);
54
result =
ElementWiseSelect
(useResult, result, current);
55
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);