SetFixpipePreQuantFlag

Product Support

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference product's AI Core

x

Atlas inference product's Vector Core

x

Atlas training products

x

Function

Sets the scalar quantization parameters in the in-line quantization process during DataCopy (CO1 -> GM or CO1 -> A1).

Prototype

1
2
template<template T>
__aicore__ inline void SetFixpipePreQuantFlag(uint64_t config)

Parameters

Table 1 Parameters

Parameter

Input/Output

Meaning

config

Input

Used to set the 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);