From 6fd14b23b9e66bb45cbe684f81a7d093a649309c Mon Sep 17 00:00:00 2001 From: sjsujinkim Date: Fri, 23 Mar 2018 13:16:56 +0900 Subject: [PATCH] Enable nnAssert in Utils.h This commit enables nnAssert in Utils.h Signed-off-by: sjsujinkim --- src/runtime/ref/nn/common/include/Utils.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/runtime/ref/nn/common/include/Utils.h b/src/runtime/ref/nn/common/include/Utils.h index 4889fe2..488f0a2 100644 --- a/src/runtime/ref/nn/common/include/Utils.h +++ b/src/runtime/ref/nn/common/include/Utils.h @@ -73,7 +73,7 @@ enum VLogFlags { extern int vLogMask; void initVLogMask(); - +#endif // REF-ANN // Assert macro, as Android does not generally support assert. #define nnAssert(v) \ do { \ @@ -83,7 +83,7 @@ void initVLogMask(); abort(); \ } \ } while (0) - +#if 0 // REF-ANN // Returns the amount of space needed to store a value of the specified // dimensions and type. uint32_t sizeOfData(OperandType type, const std::vector& dimensions); -- 2.7.4