tf.nn.l2_normalize
tf.nn.l2_normalize
tf.nn.l2_normalize
l2_normalize( x, dim, epsilon=1e-12, name=None )
Defined in tensorflow/python/ops/nn_impl.py
.
See the guide: Neural Network > Normalization
Normalizes along dimension dim
using an L2 norm.
For a 1-D tensor with dim = 0
, computes
登录查看完整内容