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 hoStartIdx) |
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
hoStartIdx |
Input |
Start position in the GradOutput height direction of the current core. |
Returns
None
Restrictions
None
Example
1 2 3 4 | ... gradWeight_.SetSingleShape(singleShapeM, singleShapeN, singleShapeK); gradWeight_.SetStartPosition(hoStartIdx); // Set the start position for loading GradOutput on a single core. ... |
Parent topic: Conv3DBackpropFilter Kernel API