skcuda.misc.min(a_gpu, axis=None, keepdims=False)[source]

Return the minimum of an array or minimum along an axis.

  • a_gpu (pycuda.gpuarray.GPUArray) – Input array
  • axis (int (optional)) – Axis along which the minima are computed. The default is to compute the minimum 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.

out – minimum of elements, or minima of elements along the desired axis.

Return type:

pycuda.gpuarray.GPUArray or float