Add Python API (#31)

This commit is contained in:
Fangjun Kuang
2023-02-19 19:36:03 +08:00
committed by GitHub
parent 8acc059b3f
commit ea09d5fbc5
51 changed files with 967 additions and 57 deletions

View File

@@ -98,7 +98,7 @@ class OnlineRecognizer::Impl {
auto states = model_->StackStates(states_vec);
auto pair = model_->RunEncoder(std::move(x), states);
auto pair = model_->RunEncoder(std::move(x), std::move(states));
decoder_->Decode(std::move(pair.first), &results);