Table Of Contents
Table Of Contents

mx.nd.sqrt

Description

Returns element-wise square-root value of the input.

\[\textrm{sqrt}(x) = \sqrt{x}\]

Example:

 sqrt([4, 9, 16]) = [2, 3, 4]

 The storage type of ``sqrt`` output depends upon the input storage type:

- sqrt(default) = default
- sqrt(row_sparse) = row_sparse
- sqrt(csr) = csr

Arguments

Argument

Description

data

NDArray-or-Symbol.

The input array.