summaryrefslogtreecommitdiff
path: root/source/application/api/use_case/asr/include/Wav2LetterPreprocess.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/application/api/use_case/asr/include/Wav2LetterPreprocess.hpp')
-rw-r--r--source/application/api/use_case/asr/include/Wav2LetterPreprocess.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/application/api/use_case/asr/include/Wav2LetterPreprocess.hpp b/source/application/api/use_case/asr/include/Wav2LetterPreprocess.hpp
index c1fec72..2f29fb0 100644
--- a/source/application/api/use_case/asr/include/Wav2LetterPreprocess.hpp
+++ b/source/application/api/use_case/asr/include/Wav2LetterPreprocess.hpp
@@ -1,6 +1,6 @@
/*
- * SPDX-FileCopyrightText: Copyright 2021-2022 Arm Limited and/or its affiliates <open-source-office@arm.com>
- * SPDX-License-Identifier: Apache-2.0
+ * SPDX-FileCopyrightText: Copyright 2021-2023 Arm Limited and/or its affiliates
+ * <open-source-office@arm.com> SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -124,7 +124,7 @@ namespace app {
const int quantOffset)
{
/* Check the output size will fit everything. */
- if (outputBufSz < (this->m_mfccBuf.size(0) * 3 * sizeof(T))) {
+ if (outputBufSz < (this->m_mfccBuf.dimSize(0) * 3 * sizeof(T))) {
printf_err("Tensor size too small for features\n");
return false;
}