From a2369ce858bcd6ba9246d123cc4ee17466e5d61b Mon Sep 17 00:00:00 2001 From: kimhyeongjun Date: Tue, 10 Dec 2024 13:40:08 +0900 Subject: [PATCH] docs: fix typo Signed-off-by: kimhyeongjun --- api/nntrainer-api-common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/nntrainer-api-common.h b/api/nntrainer-api-common.h index 1fa2d0e7d0..9ff621d495 100644 --- a/api/nntrainer-api-common.h +++ b/api/nntrainer-api-common.h @@ -179,7 +179,7 @@ typedef enum { * } * * // Fill label data - * for (int idx = 0; idx < num_inputs; ++ idx) { + * for (int idx = 0; idx < num_labels; ++ idx) { * for (int len = 0; len < label_length[idx]; ++ len) { * label[idx][len] = rand(); * }