chainer.functions.sqrt¶
- chainer.functions.sqrt(x)[source]¶
Elementwise square root function.
\[y_i = \sqrt x_i.\]If the value of \(x_i\) is negative, it returns
Nan
for \(y_i\) respect to underlying numpy and cupy specification.- Parameters
x (
Variable
or N-dimensional array) – Input variable.- Returns
Output variable.
- Return type