GetOffsetC

获取本次计算时当前分片在整个C矩阵中的位置。

函数原型

__aicore__ inline MatrixOffset GetOffsetC();

参数说明

返回值

MatrixOffset结构体如下:

struct MatrixOffset {   
    int32_t offset;   
    int32_t row, col;   
    int32_t height, width; 
};

支持的处理器型号

Atlas A2训练系列产品

注意事项