“29e5a34c0abbc599fc6ddea791b78187fef0ab73”上不存在“develop/api_doc/v2/fluid/regularizer.html”
Make the normalization operator more general and fix bug in l2_normalize. (#11348)
* Add normalization operator. 1. Refine the raw norm_op and let it more general to support to normalize Tensor along any axis. 2. There is a bug in l2_normalize API, which lacks sqrt after `reduce_sum`. 3. Use norm_op to refine the l2_normalize API. 4. Fix bug in test_normalization_wrapper.py.
Showing
想要评论请 注册 或 登录