From 959c7b6950729fca29ac051be09d787101a1b34d Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=98=A4=ED=98=95=EC=84=9D/On-Device=20Lab=28SR=29/Staff?= =?utf8?q?=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 2 Dec 2019 14:12:19 +0900 Subject: [PATCH] [runtime/api] Add tensorinfo field comment (#9314) Add doxygen comment at nnfw_tensorinfo field Signed-off-by: Hyeongseok Oh --- runtime/neurun/api/include/nnfw.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/runtime/neurun/api/include/nnfw.h b/runtime/neurun/api/include/nnfw.h index 0538ab2..b41239e 100644 --- a/runtime/neurun/api/include/nnfw.h +++ b/runtime/neurun/api/include/nnfw.h @@ -116,9 +116,15 @@ typedef enum { */ typedef struct nnfw_tensorinfo { + /** The data type */ NNFW_TYPE dtype; - int rank; - int dims[6]; + /** The number of dimensions (rank) */ + int32_t rank; + /** + * The dimension of tensor. + * Maximum rank is 6. + */ + int32_t dims[6]; } nnfw_tensorinfo; /** -- 2.7.4