summaryrefslogtreecommitdiff
path: root/source/use_case/asr/include/Wav2LetterPostprocess.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/use_case/asr/include/Wav2LetterPostprocess.hpp')
-rw-r--r--source/use_case/asr/include/Wav2LetterPostprocess.hpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/source/use_case/asr/include/Wav2LetterPostprocess.hpp b/source/use_case/asr/include/Wav2LetterPostprocess.hpp
index 69567a3..e16d35b 100644
--- a/source/use_case/asr/include/Wav2LetterPostprocess.hpp
+++ b/source/use_case/asr/include/Wav2LetterPostprocess.hpp
@@ -72,33 +72,33 @@ namespace asr {
* initialised.
* @return true if valid, false otherwise.
*/
- bool _IsInputValid(TfLiteTensor* tensor,
- uint32_t axisIdx) const;
+ bool IsInputValid(TfLiteTensor* tensor,
+ const uint32_t axisIdx) const;
/**
* @brief Gets the tensor data element size in bytes based
* on the tensor type.
* @return Size in bytes, 0 if not supported.
*/
- uint32_t _GetTensorElementSize(TfLiteTensor* tensor);
+ static uint32_t GetTensorElementSize(TfLiteTensor* tensor);
/**
* @brief Erases sections from the data assuming row-wise
* arrangement along the context axis.
* @return true if successful, false otherwise.
*/
- bool _EraseSectionsRowWise(uint8_t* ptrData,
- uint32_t strideSzBytes,
- bool lastIteration);
+ bool EraseSectionsRowWise(uint8_t* ptrData,
+ const uint32_t strideSzBytes,
+ const bool lastIteration);
/**
* @brief Erases sections from the data assuming col-wise
* arrangement along the context axis.
* @return true if successful, false otherwise.
*/
- bool _EraseSectionsColWise(uint8_t* ptrData,
- uint32_t strideSzBytes,
- bool lastIteration);
+ static bool EraseSectionsColWise(const uint8_t* ptrData,
+ const uint32_t strideSzBytes,
+ const bool lastIteration);
};
} /* namespace asr */