(a_gpu, axis=None, keepdims=False)
return _minmax_impl(a_gpu, axis, "max", keepdims=keepdims)[0]
Return the maximum of an array or maximum along an axis.

    Parameters
    ----------
    a_gpu : pycuda.gpuarray.GPUArray
        Input array
    axis : int (optional)
        Axis along which the maxima are computed. The default is to
        compute the maximum of the flattened array.
    keepdims : bool (optional, default False)
        If True, the axes which are reduced are left in the result as
        dimensions with size one.

    Returns
    -------
    out : pycuda.gpuarray.GPUArray or float
        maximum of elements, or maxima of elements along the desired axis.
Return the maximum of an array or maximum along an axis.
Return the maximum of an array or maximum along an axis .
def max(a_gpu, axis=None, keepdims=False):
    '''
    Return the maximum of an array or maximum along an axis.

    Parameters
    ----------
    a_gpu : pycuda.gpuarray.GPUArray
        Input array
    axis : int (optional)
        Axis along which the maxima are computed. The default is to
        compute the maximum of the flattened array.
    keepdims : bool (optional, default False)
        If True, the axes which are reduced are left in the result as
        dimensions with size one.

    Returns
    -------
    out : pycuda.gpuarray.GPUArray or float
        maximum of elements, or maxima of elements along the desired axis.
    '''
    return _minmax_impl(a_gpu, axis, "max", keepdims=keepdims)[0]
def max ( a_gpu , axis = None , keepdims = False ) : return _minmax_impl ( a_gpu , axis , "max" , keepdims = keepdims ) [ 0 ]