Skip to content

Commit e6f480e

Browse files
Wojciech UssSand3r-
authored andcommitted
add comment on the default first pass
1 parent 2cf258e commit e6f480e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

paddle/fluid/inference/api/paddle_inference_api.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ struct AnalysisConfig : public NativeConfig {
261261

262262
void SetIncludeMode() {
263263
ir_mode = IrPassMode::kInclude;
264+
// this pass has to be run at the beginning of all fuse passes
264265
ir_passes = {"infer_clean_graph_pass"};
265266
}
266267

0 commit comments

Comments
 (0)