已合并
add assert #8422
link164735创建于 8月7日
add assert #8422
已合并
共 6 个文件变更+7-7
| @@ -7,7 +7,7 @@ | |||
| 7 | # INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. | 7 | # INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE. |
| 8 | # See LICENSE in the root of the software repository for the full text of the License. | 8 | # See LICENSE in the root of the software repository for the full text of the License. |
| 9 | # ---------------------------------------------------------------------------- | 9 | # ---------------------------------------------------------------------------- |
| 10 | -set(OPTENSOR_TAG_ID 2d6338cebe02860001a94dea2bb56c2f40eae7ca) | 10 | +set(OPTENSOR_TAG_ID 1aa0f01b998cbb06be43dc346926a494b53594c4) |
| 11 | 11 | ||
| 12 | if(EXISTS "${PROJECT_SOURCE_DIR}/../ops-tensor") | 12 | if(EXISTS "${PROJECT_SOURCE_DIR}/../ops-tensor") |
| 13 | get_filename_component(OPTENSOR_SOURCE_PATH | 13 | get_filename_component(OPTENSOR_SOURCE_PATH |
| @@ -50,7 +50,7 @@ | |||
| 50 | using namespace AscendC; | 50 | using namespace AscendC; |
| 51 | using namespace matmul; | 51 | using namespace matmul; |
| 52 | 52 | ||
| 53 | -#define DTYPE_BIAS half | 53 | +#define DTYPE_BIAS DTYPE_X1 |
| 54 | 54 | ||
| 55 | 55 | ||
| 56 | 56 | ||
| @@ -47,7 +47,7 @@ using namespace Gemm; | |||
| 47 | using namespace AscendC; | 47 | using namespace AscendC; |
| 48 | 48 | ||
| 49 | 49 | ||
| 50 | -#define DTYPE_BIAS half | 50 | +#define DTYPE_BIAS DTYPE_X1 |
| 51 | 51 | ||
| 52 | 52 | ||
| 53 | 53 | ||
| @@ -15,10 +15,10 @@ | |||
| 15 | 15 | ||
| 16 | 16 | ||
| 17 | 17 | ||
| 18 | -#define DTYPE_Y half | 18 | +#define DTYPE_Y DTYPE_X1 |
| 19 | 19 | ||
| 20 | 20 | ||
| 21 | -#define DTYPE_BIAS half | 21 | +#define DTYPE_BIAS DTYPE_X1 |
| 22 | 22 | ||
| 23 | 23 | ||
| 24 | 24 | ||
| @@ -53,7 +53,7 @@ using namespace Cmct::Gemm; | |||
| 53 | using namespace AscendC; | 53 | using namespace AscendC; |
| 54 | using namespace matmul; | 54 | using namespace matmul; |
| 55 | 55 | ||
| 56 | -#define DTYPE_BIAS half | 56 | +#define DTYPE_BIAS DTYPE_X1 |
| 57 | 57 | ||
| 58 | 58 | ||
| 59 | 59 | ||
| @@ -24,7 +24,7 @@ using namespace AscendC; | |||
| 24 | using namespace matmul; | 24 | using namespace matmul; |
| 25 | 25 | ||
| 26 | 26 | ||
| 27 | -#define DTYPE_BIAS half | 27 | +#define DTYPE_BIAS DTYPE_X1 |
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | 30 | ||