L2 norm (a.k.a. Euclidean norm) squared.
This function implements the square of L2 norm on a vector. No reduction along batch axis is done.
Parameters: x (
Variableor N-dimensional array) – Input variable. The first dimension is assumed to be the minibatch dimension. If
xhas more than two dimensions all but the first dimension are flattened to one dimension.
Returns: Two dimensional output variable. Return type: Variable