Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/c-api-alsa-hlg' into c-api-alsa-hlg
Browse files Browse the repository at this point in the history
  • Loading branch information
csukuangfj committed Apr 17, 2024
2 parents a3748e9 + 4647e57 commit 5287aca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion sherpa-onnx/csrc/online-ctc-greedy-search-decoder.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ void OnlineCtcGreedySearchDecoder::Decode(
prev_id = r.tokens.back();
}


for (int32_t t = 0; t != num_frames; ++t, p += vocab_size) {
int32_t y = static_cast<int32_t>(std::distance(
static_cast<const float *>(p),
Expand Down
2 changes: 1 addition & 1 deletion sherpa-onnx/csrc/speaker-embedding-manager.cc
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ bool SpeakerEmbeddingManager::Verify(const std::string &name, const float *p,
}

float SpeakerEmbeddingManager::Score(const std::string &name,
const float *p) const {
const float *p) const {
return impl_->Score(name, p);
}

Expand Down

0 comments on commit 5287aca

Please sign in to comment.