Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[speechx] add batch recognizer decode. #2866

Merged
merged 14 commits into from
Feb 1, 2023

Conversation

SmileGoat
Copy link
Contributor

PR types

New features

PR changes

Others

Describe

add batch recognizer decode, multi-thread recognizer decode.

@SmileGoat SmileGoat added this to the r1.4.0 milestone Feb 1, 2023
@SmileGoat SmileGoat added the S2T asr/st label Feb 1, 2023
@mergify mergify bot added the Deployment label Feb 1, 2023
Copy link
Collaborator

@zh794390558 zh794390558 left a comment

Choose a reason for hiding this comment

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

过下pre-commit

speechx/speechx/asr/recognizer/u2_recognizer.h Outdated Show resolved Hide resolved
: opts_(resource) {
BaseFloat am_scale = resource.acoustic_scale;
const FeaturePipelineOptions& feature_opts = resource.feature_pipeline_opts;
std::shared_ptr<FeaturePipeline> feature_pipeline(
Copy link
Collaborator

Choose a reason for hiding this comment

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

用make_shared

speechx/speechx/asr/recognizer/u2_recognizer.cc Outdated Show resolved Hide resolved
speechx/speechx/asr/recognizer/u2_recognizer_batch_main.cc Outdated Show resolved Hide resolved
speechx/speechx/asr/recognizer/u2_recognizer_batch_main.cc Outdated Show resolved Hide resolved
@SmileGoat SmileGoat merged commit 5042a16 into PaddlePaddle:speechx Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants