mindspore/docs/api/api_python/nn/mindspore.nn.LRN.rst

12 lines
512 B
ReStructuredText
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

mindspore.nn.LRN
================
.. py:class:: mindspore.nn.LRN(depth_radius=5, bias=1.0, alpha=1.0, beta=0.5, norm_region="ACROSS_CHANNELS")
局部响应归一化操作LRN(Local Response Normalization)。
.. warning::
LRN在Ascend平台已废弃存在潜在精度问题。建议使用其他归一化方法:class:`mindspore.nn.BatchNorm1d`:class:`mindspore.nn.BatchNorm2d`:class:`mindspore.nn.BatchNorm3d` 代替LRN。
更多参考详见 :func:`mindspore.ops.lrn`