projects
/
platform
/
core
/
ml
/
nnfw.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Upstream version 1.8.0
[platform/core/ml/nnfw.git]
/
tests
/
nnfw_api
/
src
/
fixtures.h
diff --git
a/tests/nnfw_api/src/fixtures.h
b/tests/nnfw_api/src/fixtures.h
index
f5bcf40
..
8fe5c16
100644
(file)
--- a/
tests/nnfw_api/src/fixtures.h
+++ b/
tests/nnfw_api/src/fixtures.h
@@
-23,6
+23,8
@@
#include "NNPackages.h"
+#define NNFW_ENSURE_SUCCESS(EXPR) ASSERT_EQ((EXPR), NNFW_STATUS_NO_ERROR)
+
inline uint64_t num_elems(const nnfw_tensorinfo *ti)
{
uint64_t n = 1;