chainer.functions.sqrt

chainer.functions.sqrt(x)[source]

Elementwise square root function.

yi=xi.

If the value of xi is negative, it returns Nan for yi respect to underlying numpy and cupy specification.

Parameters

x (Variable or N-dimensional array) – Input variable.

Returns

Output variable.

Return type

Variable