mlirUniformQuantizedSubChannelTypeGet

Function mlirUniformQuantizedSubChannelTypeGet 

Source
pub unsafe extern "C" fn mlirUniformQuantizedSubChannelTypeGet(
    flags: c_uint,
    storageType: MlirType,
    expressedType: MlirType,
    scalesAttr: MlirAttribute,
    zeroPointsAttr: MlirAttribute,
    blockSizeInfoLength: isize,
    quantizedDimensions: *mut i32,
    blockSizes: *mut i64,
    storageTypeMin: i64,
    storageTypeMax: i64,
) -> MlirType
Expand description

Creates a UniformQuantizedSubChannelType with the given parameters.

The type is owned by the context. scalesAttr and zeroPointsAttr must be DenseElementsAttrs. quantizedDimensions and blockSizes point to blockSizeInfoLength number of elements, describing respectively the quantization axis and corresponding block size.