Rad2DegΒΆ

Returns a new tensor with each of the elements of input converted from angles in radians to degrees.

Abstract Signature:

Rad2Deg(input: Tensor)

PyTorch

API: torch.rad2deg
Strategy: Direct Mapping

JAX (Core)

API: jnp.degrees
Strategy: Direct Mapping

NumPy

API: np.rad2deg
Strategy: Direct Mapping

Keras

API: keras.ops.convert_to_numpy
Strategy: Macro '{input} * 180.0 / 3.141592653589793'

TensorFlow

API: tf.experimental.numpy.rad2deg
Strategy: Macro '{input} * 180.0 / 3.141592653589793'

Apple MLX

API: mlx.core.degrees
Strategy: Direct Mapping

Flax NNX

API: jnp.degrees
Strategy: Direct Mapping

PaxML / Praxis

API: jnp.degrees
Strategy: Direct Mapping