Table Of Contents
Table Of Contents

mx.nd.degrees

Description

Converts each element of the input array from radians to degrees.

\[degrees([0, \pi/2, \pi, 3\pi/2, 2\pi]) = [0, 90, 180, 270, 360]\]

The storage type of degrees output depends upon the input storage type:

  • degrees(default) = default

  • degrees(row_sparse) = row_sparse

  • degrees(csr) = csr

Arguments

Argument

Description

data

NDArray-or-Symbol.

The input array.