We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7495f80 commit 7b31a7aCopy full SHA for 7b31a7a
packages/react-native-executorch/common/rnexecutorch/models/speech_to_text/SpeechToText.h
@@ -20,8 +20,8 @@ class SpeechToText {
20
[[nodiscard(
21
"Registered non-void function")]] std::shared_ptr<OwningArrayBuffer>
22
decode(std::span<int32_t> tokens, std::span<float> encoderOutput) const;
23
- std::string transcribe(std::span<float> waveform,
24
- std::string languageOption) const;
+ [[nodiscard("Registered non-void function")]] std::string
+ transcribe(std::span<float> waveform, std::string languageOption) const;
25
26
size_t getMemoryLowerBound() const noexcept;
27
0 commit comments