'List all the output NDArray.
Returns
A list of ndarray bound to the heads of executor.'

def _get_outputs(self):

    out_size = mx_uint()
    handles = ctypes.POINTER(NDArrayHandle)()
    check_call(_LIB.MXExecutorOutputs(self.handle, ctypes.byref(out_size), ctypes.byref(handles)))
    return [NDArray(NDArrayHandle(handles[i])) for i in range(out_size.value)]
