Similar to comm.gather, comm.reduce takes an array of input elements in each process and returns an array of output elements to the root process. The output elements contain the reduced result.
Similar to comm.gather, comm.reduce takes an array of input elements in each process and returns an array of output elements to the root process. The output elements contain the reduced result.