SetFixpipePreQuantFlag
Supported Products
Product |
Supported/Unsupported |
|---|---|
√ |
|
√ |
|
√ |
|
x |
|
x |
|
x |
Function Usage
Sets scalar quantization parameters in the quantization process by calling this API during channel-associated quantization in the DataCopy (CO1->GM, CO1->A1) process.
Prototype
1 2 | template<template T> __aicore__ inline void SetFixpipePreQuantFlag(uint64_t config) |
Parameters
Parameter |
Input/Output |
Meaning |
|---|---|---|
config |
Input |
Scalar quantization parameters used during quantization. |
Returns
None
Restrictions
None
Example
For details, see the complete example.
1 2 | uint64_t deqScalar = 11; AscendC::SetFixpipePreQuantFlag(deqScalar); |
Parent topic: Data Movement