Skip to content

📝 Add docstrings to master#2845

Open
coderabbitai[bot] wants to merge 1 commit intomasterfrom
coderabbitai/docstrings/586cd19
Open

📝 Add docstrings to master#2845
coderabbitai[bot] wants to merge 1 commit intomasterfrom
coderabbitai/docstrings/586cd19

Conversation

@coderabbitai
Copy link

@coderabbitai coderabbitai bot commented Dec 2, 2025

Docstrings generation was requested by @Mahmoud-ghareeb.

The following files were modified:

  • sherpa-onnx/c-api/c-api.cc
  • sherpa-onnx/csrc/offline-recognizer-transducer-impl.h
  • sherpa-onnx/csrc/offline-stream.cc
  • sherpa-onnx/csrc/offline-stream.h
  • sherpa-onnx/csrc/offline-transducer-decoder.h
  • sherpa-onnx/csrc/offline-transducer-greedy-search-decoder.cc
  • sherpa-onnx/csrc/offline-transducer-modified-beam-search-decoder.cc
  • sherpa-onnx/python/csrc/offline-stream.cc
ℹ️ Note

CodeRabbit cannot perform edits on its own pull requests yet.

Docstrings generation was requested by @Mahmoud-ghareeb.

* #2843 (comment)

The following files were modified:

* `sherpa-onnx/c-api/c-api.cc`
* `sherpa-onnx/csrc/offline-recognizer-transducer-impl.h`
* `sherpa-onnx/csrc/offline-stream.cc`
* `sherpa-onnx/csrc/offline-stream.h`
* `sherpa-onnx/csrc/offline-transducer-decoder.h`
* `sherpa-onnx/csrc/offline-transducer-greedy-search-decoder.cc`
* `sherpa-onnx/csrc/offline-transducer-modified-beam-search-decoder.cc`
* `sherpa-onnx/python/csrc/offline-stream.cc`
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 2, 2025
@coderabbitai
Copy link
Author

coderabbitai bot commented Dec 2, 2025

Important

Review skipped

CodeRabbit bot authored PR detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

r->ys_probs = new float[r->count];
std::copy(result.ys_probs.begin(), result.ys_probs.end(), r->ys_probs);
} else {
r->ys_probs = nullptr;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It has been renamed to ys_log_probs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant