SetStartPosition
Applicability
Product |
Supported |
|---|---|
√ |
|
√ |
|
x |
|
x |
|
x |
|
x |
Function
Sets the start position for loading GradOutput data on a single core.
Prototype
1 | __aicore__ inline void SetStartPosition(uint32_t curDinStartIdx, int32_t curHoStartIdx) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
curDinStartIdx |
Input |
Start position in the D direction of the current core. |
curHoStartIdx |
Input |
Start position in the H direction of the current core. |
Returns
None
Restrictions
None
Example
1 | gradInput_.SetStartPosition(dinStartIdx_, curHoStartIdx_); // Set the start position for loading GradOutput on a single core. |
Parent topic: Conv3DBackpropInput Kernel API