mpi_array.globale_ufunc.GndarrayArrayUfuncExecutor.create_outputs¶
-
GndarrayArrayUfuncExecutor.create_outputs(outputs, result_shape, result_types)[source]¶ Returns list of output
mpi_array.globale.gndarrayinstances.Parameters: - outputs (
Noneortupleofmpi_array.globale.gndarray) – Output arrays passed in as theoutargument of thenumpy.ufunc. - result_shape (sequence of
int) – The shape of all output arrays. - result_types (sequence of
numpy.dtype) – Thedtypeof each output array. Note that this is the list for all outputs including any in theoutputsargument. 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 (