From: 오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 Date: Mon, 2 Dec 2019 05:12:19 +0000 (+0900) Subject: [runtime/api] Add tensorinfo field comment (#9314) X-Git-Tag: submit/tizen/20191205.083104~54 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=959c7b6950729fca29ac051be09d787101a1b34d;p=platform%2Fcore%2Fml%2Fnnfw.git [runtime/api] Add tensorinfo field comment (#9314) Add doxygen comment at nnfw_tensorinfo field Signed-off-by: Hyeongseok Oh --- 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; /**