未验证 提交 25ec6a2c 编写于 作者: T Tao Luo 提交者: GitHub

Merge pull request #15657 from qingqing01/fix_bn_api

Fix batch_norm API for data_layout.
...@@ -2930,6 +2930,7 @@ def batch_norm(input, ...@@ -2930,6 +2930,7 @@ def batch_norm(input,
"momentum": momentum, "momentum": momentum,
"epsilon": epsilon, "epsilon": epsilon,
"is_test": is_test, "is_test": is_test,
"data_layout": data_layout,
"use_mkldnn": False, "use_mkldnn": False,
"fuse_with_relu": fuse_with_relu, "fuse_with_relu": fuse_with_relu,
"use_global_stats": use_global_stats "use_global_stats": use_global_stats
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册