已合并
fix: input_util.h 等添加头文件保护 #2722
zhanw_coding创建于 5月13日
fix: input_util.h 等添加头文件保护 #2722
已合并
共 2 个文件变更+10-0
| @@ -8,6 +8,9 @@ | |||
| 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 | 10 | ||
| 11 | + | ||
| 12 | + | ||
| 13 | + | ||
| 11 | 14 | ||
| 12 | 15 | ||
| 13 | 16 | ||
| @@ -27,3 +30,5 @@ ge::graphStatus InferDataTypeOutputSameAsInput(gert::InferDataTypeContext* conte | |||
| 27 | return context->SetOutputDataType(OUTPUT_IDX, context->GetInputDataType(INPUT_IDX)); | 30 | return context->SetOutputDataType(OUTPUT_IDX, context->GetInputDataType(INPUT_IDX)); |
| 28 | } | 31 | } |
| 29 | } // namespace ops | 32 | } // namespace ops |
| 33 | + | ||
| 34 | + | ||
| @@ -8,6 +8,9 @@ | |||
| 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 | 10 | ||
| 11 | + | ||
| 12 | + | ||
| 13 | + | ||
| 11 | 14 | ||
| 12 | 15 | ||
| 13 | 16 | ||
| @@ -320,3 +323,5 @@ static inline ge::graphStatus GetImgDataDimsByNCHWOrder( | |||
| 320 | return ge::GRAPH_FAILED; | 323 | return ge::GRAPH_FAILED; |
| 321 | } | 324 | } |
| 322 | } // namespace Ops::Math | 325 | } // namespace Ops::Math |
| 326 | + | ||
| 327 | + | ||