GetOffsetC
获取本次计算时当前分片在整个C矩阵中的位置。
函数原型
__aicore__ inline MatrixOffset GetOffsetC();
参数说明
无
返回值
MatrixOffset结构体如下:
struct MatrixOffset { int32_t offset; int32_t row, col; int32_t height, width; };
支持的型号
Atlas A2训练系列产品
Atlas推理系列产品AI Core
注意事项
无
父主题: Matmul 高阶API