Skip to content

Commit fcdc623

Browse files
authored
Merge pull request #15733 from qingqing01/release/1.3.3
cherry-pick/Fix batch_norm API for data_layout.
2 parents 6cae068 + 8cbea0a commit fcdc623

File tree

1 file changed

+1
-0
lines changed
  • python/paddle/fluid/layers

1 file changed

+1
-0
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2930,6 +2930,7 @@ def batch_norm(input,
29302930
"momentum": momentum,
29312931
"epsilon": epsilon,
29322932
"is_test": is_test,
2933+
"data_layout": data_layout,
29332934
"use_mkldnn": False,
29342935
"fuse_with_relu": fuse_with_relu,
29352936
"use_global_stats": use_global_stats

0 commit comments

Comments
 (0)