# tensorplay.functional.rad2deg Source: https://www.tensorplay.cn/docs/generated/tensorplay.functional.rad2deg.html ```python tensorplay.functional.rad2deg(input: Tensor, *, out: Tensor | None) → Tensor ``` Returns a new tensor with each of the elements of input converted from angles in radians to degrees. Parameters: input ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor)) – the input tensor. Keyword Arguments: out ([Tensor](/docs/generated/tensorplay.Tensor.html#tensorplay.Tensor), optional) – the output tensor. Example: ``` >>> a = tensorplay.tensor([[3.142, -3.142], [6.283, -6.283], [1.570, -1.570]]) >>> tensorplay.rad2deg(a) tensor([[ 180.0233, -180.0233], [ 359.9894, -359.9894], [ 89.9544, -89.9544]]) ```