Antonio Sanchez d82d915047 Modify tensor argmin/argmax to always return first occurence.
As written, depending on multithreading/gpu, the returned index from
`argmin`/`argmax` is not currently stable.  Here we modify the functors
to always keep the first occurence (i.e. if the value is equal to the
current min/max, then keep the one with the smallest index).

This is otherwise causing unpredictable results in some TF tests.


(cherry picked from commit 3a087ccb99b454dc34484333e608e836e7032213)
2021-06-29 23:28:37 +00:00
..
2021-06-21 18:14:53 +00:00
2021-02-19 22:26:56 +00:00
2016-08-30 10:01:53 +02:00
FFT
2021-02-27 18:44:26 +01:00
2018-09-20 18:30:10 +02:00