Skip to content

Commit

Permalink
fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverSulfide committed Aug 21, 2024
1 parent 698409c commit 132770c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sherpa-onnx/csrc/online-lm.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ class OnlineLM {

static std::unique_ptr<OnlineLM> Create(const OnlineLMConfig &config);

// init states for classic rescore
virtual std::vector<Ort::Value> GetInitStates() = 0;
// init states for classic rescore
virtual std::vector<Ort::Value> GetInitStates() = 0;

// init states for shallow fusion
virtual std::pair<Ort::Value, std::vector<Ort::Value>> GetInitStatesSF() = 0;
// init states for shallow fusion
virtual std::pair<Ort::Value, std::vector<Ort::Value>> GetInitStatesSF() = 0;

/** ScoreToken a batch of sentences (shallow fusion).
*
Expand Down

0 comments on commit 132770c

Please sign in to comment.