• W
    Fix gather and scatter op has same index bug cherry-pick from #17952 · 072347ff
    wawltor 提交于
    test=release/1.5
    cherry-pick from #17952
    The scatter op has a calc bug when the indices has same index, the scatter op use overwrite mode to calculate the same index, fix this bug by using the accumulate mode to calculate the same index.At the same time, the gather op has the same bug when the op calc the grad. And we use the lib of open-blas and eigen to optimize the time cost in accumulate mode.
    072347ff
gather_op.h 4.0 KB