Skip to content

Commit eb00055

Browse files
committed
refactor: remove duplicate unload() declaration in VoiceActivityDetection
1 parent bb52a43 commit eb00055

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/react-native-executorch/common/rnexecutorch/models/voice_activity_detection/VoiceActivityDetection.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,9 @@ class VoiceActivityDetection : public BaseModel {
2525
generate(std::span<float> waveform) const;
2626
void unload() noexcept;
2727

28-
void unload() noexcept;
29-
3028
private:
3129
mutable std::mutex inference_mutex_;
30+
3231
std::vector<std::array<float, constants::kPaddedWindowSize>>
3332
preprocess(std::span<float> waveform) const;
3433
std::vector<types::Segment> postprocess(const std::vector<float> &scores,

0 commit comments

Comments
 (0)