mpi_array.globale_ufunc.GndarrayArrayUfuncExecutor.create_outputs¶
-
GndarrayArrayUfuncExecutor.
create_outputs
(outputs, result_shape, result_types)[source]¶ Returns list of output
mpi_array.globale.gndarray
instances.Parameters: - outputs (
None
ortuple
ofmpi_array.globale.gndarray
) – Output arrays passed in as theout
argument of thenumpy.ufunc
. - result_shape (sequence of
int
) – The shape of all output arrays. - result_types (sequence of
numpy.dtype
) – Thedtype
of each output array. Note that this is the list for all outputs including any in theoutputs
argument. This determines the number of output arrays.
Return type: Returns: A list of length
len(result_types)
elements, each element is ampi_array.globale.gndarray
.- outputs (