API 相关说明
Quantize a float NumPy ndarray into a qint4 one with specified params.
arr (ndarray) – Input ndarray.
ndarray
q (dtype) – Target data type, should be a qint4.
dtype
上一页
megengine.core.tensor.dtype.convert_from_quint4
下一页
megengine.core.tensor.dtype.convert_from_qint4