mindspore.QuantDtype

class mindspore.QuantDtype[source]

An enum for quant datatype, contains INT1 ~ INT16, UINT1 ~ UINT16.

QuantDtype is defined in mindspore/common/dtype.py, use command below to import:

from mindspore import QuantDtype
value()[source]

Return value of QuantDtype.

Returns

An int as value of QuantDtype.