Skip to main content

ClikaRT::ops::rad2deg

function

rad2deg()

Tensor rad2deg(Tensor x)

Converts radians to degrees elementwise: x180/πx \cdot 180 / \pi.

Returns: x's shape at its (float-promoted) dtype.

Throws

  • ClikaRT::Error: (INVALID_ARGUMENT) for an unsupported dtype.

Declared in ClikaRT/compute/ops.h, line 1513