espnet.nets.chainer_backend.transformer.training.sum_sqnorm
Less than 1 minute
espnet.nets.chainer_backend.transformer.training.sum_sqnorm
espnet.nets.chainer_backend.transformer.training.sum_sqnorm(arr)
Calculate the norm of the array.
- Parameters:arr (numpy.ndarray)
- Returns: Sum of the norm calculated from the given array.
- Return type: Float