cupy.min_scalar_type#

cupy.min_scalar_type(a)#

For scalar a, returns the data type with the smallest size and smallest scalar kind which can hold its value. For non-scalar array a, returns the vector’s dtype unmodified.