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(); * }