Skip to content

Commit 0dab8eb

Browse files
committed
Fix formatting
1 parent f047f5e commit 0dab8eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/fluid/inference/api/analysis_config.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,9 +223,9 @@ void AnalysisConfig::EnableMkldnnQuantizer() {
223223

224224
void AnalysisConfig::EnableMkldnnBfloat16() {
225225
#ifdef PADDLE_WITH_MKLDNN
226-
if (platform::MayIUse(platform::cpu_isa_t::avx512_core)){
226+
if (platform::MayIUse(platform::cpu_isa_t::avx512_core)) {
227227
use_mkldnn_bfloat16_ = true;
228-
} else{
228+
} else {
229229
LOG(INFO) << "CPU does not support BFLOAT16 calculations";
230230
use_mkldnn_bfloat16_ = false;
231231
}

0 commit comments

Comments
 (0)