定义
struct LinearParam {
enum MatmulType : uint8_t {
MATMUL_UNDEFINED = 0,
MATMUL_EIN_SUM,
}
bool transposeA = false;
bool transposeB = true;
bool hasBias = true;
aclDataType outDataType = ACL_DT_UNDEFINED;
bool enAccum = false;
MatmulType matmulType = MATMUL_UNDEFINED;
uint8_t rsv[22] = {0};
};
父主题: LinearOperation