We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f047f5e commit 0dab8ebCopy full SHA for 0dab8eb
paddle/fluid/inference/api/analysis_config.cc
@@ -223,9 +223,9 @@ void AnalysisConfig::EnableMkldnnQuantizer() {
223
224
void AnalysisConfig::EnableMkldnnBfloat16() {
225
#ifdef PADDLE_WITH_MKLDNN
226
- if (platform::MayIUse(platform::cpu_isa_t::avx512_core)){
+ if (platform::MayIUse(platform::cpu_isa_t::avx512_core)) {
227
use_mkldnn_bfloat16_ = true;
228
- } else{
+ } else {
229
LOG(INFO) << "CPU does not support BFLOAT16 calculations";
230
use_mkldnn_bfloat16_ = false;
231
}
0 commit comments