Skip to content

Commit

Permalink
[runtime] fix lint (#2373)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdliang11 authored Feb 28, 2024
1 parent 3e3cee5 commit 844d578
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/core/decoder/torch_asr_model.cc
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ void TorchAsrModel::Read(const std::string& model_path) {
is_bidirectional_decoder_ = o5.toBool();

torch::jit::setGraphExecutorOptimize(false);
torch::jit::FusionStrategy static0 = {{torch::jit::FusionBehavior::STATIC, 0}};
torch::jit::FusionStrategy static0 = {
{torch::jit::FusionBehavior::STATIC, 0}};
torch::jit::setFusionStrategy(static0);

VLOG(1) << "Torch Model Info:";
Expand Down

0 comments on commit 844d578

Please sign in to comment.