Enable segment reduction ops for complex numbers (#2567)
This enables segment reduction ops for the complex64 and complex128 dtypes, in order to bring their behavior in line with the regular reduction ops. Only sum and prod reductions have been enabled, as min and max are not appropriate and mean would require changes to the code and is probably not worth it. This fixes #2255
Loading
Please sign in to comment