[common] Increase tensor_size_extra_limit to 240
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Tue, 13 Jun 2023 06:28:07 +0000 (15:28 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 14 Jun 2023 10:18:02 +0000 (19:18 +0900)
- Making the total size limit to be 256 (16 + 240)
- TODO: Set NNS_TENSOR_SIZE as 256 and update other source codes
  accordingly

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
gst/nnstreamer/include/tensor_typedef.h

index 74f9e55..1a87a72 100644 (file)
 #define NNS_TENSOR_RANK_LIMIT_PREV (4)
 #define NNS_TENSOR_SIZE_LIMIT  (16)
 #define NNS_TENSOR_SIZE_LIMIT_STR      "16"
-#define NNS_TENSOR_SIZE_EXTRA_LIMIT (100)
+
+/**
+ * @todo Set NNS_TENSOR_SIZE_LIMIT as 256,
+ * and define NNS_TENSOR_SIZE_LIMIT_STATIC as 16.
+ * And define NNS_TENSOR_SIZE_EXTRA_LIMIT as (NNS_TENSOR_SIZE_LIMIT - NNS_TENSOR_SIZE_LIMIT_STATIC).
+ * Then update other source codes accordingly.
+ */
+#define NNS_TENSOR_SIZE_EXTRA_LIMIT (240)
 #define NNS_TENSOR_DIM_NULL ({0, 0, 0, 0})
 
 /**