cupy.min_scalar_type#

cupy.min_scalar_type(a)#

对于标量 a,返回可以容纳其值的最小大小和最小标量种类的数据类型。对于非标量数组 a,返回向量的 dtype 不变。

参见

numpy.min_scalar_type()