12 references to ElementWiseSelect
System.Numerics.Tensors (12)
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMax.cs (3)
74
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, currentNegative);
82
result =
ElementWiseSelect
(useResult, result, current);
83
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMaxMagnitude.cs (3)
73
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, currentNegative);
81
result =
ElementWiseSelect
(useResult, result, current);
82
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMin.cs (3)
71
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, resultNegative);
79
result =
ElementWiseSelect
(useResult, result, current);
80
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);
System\Numerics\Tensors\netcore\TensorPrimitives.IndexOfMinMagnitude.cs (3)
73
useResult |= equalMask &
ElementWiseSelect
(sameSign, lessThanIndexMask, resultNegative);
81
result =
ElementWiseSelect
(useResult, result, current);
82
resultIndex =
ElementWiseSelect
(useResult, resultIndex, currentIndex);