SetLoadDataPaddingValue
Applicability
Product |
Supported |
|---|---|
Atlas 350 Accelerator Card |
√ |
√ |
|
√ |
|
√ |
|
√ |
|
x |
|
x |
Function Usage
Sets the padding value when Load3Dv1 or Load3Dv2 is called. If isSetPadding of Load3Dv1 or Load3Dv2 is set to true, you need to use this API to set the padding value. If isSetPadding is set to false, the padding value set by this API does not take effect.
Prototype
1 2 | template <typename T> __aicore__ inline void SetLoadDataPaddingValue(const T padValue) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
padValue |
Input |
Padding value. For the Atlas 350 Accelerator Card, the supported data types are int8_t, uint8_t, half, int16_t, uint16_t, bfloat16_t, int32_t, uint32_t, and float. For the For the For the For the |
Restrictions
None
Examples
See Examples.