Convert each of the elements of input x from degrees to angles in radians, requiring x to be a SparseCooTensor or SparseCsrTensor.

$deg2rad(x) = \pi * x / 180$
Parameters
• x (Tensor) – The input Sparse Tensor with data type float32, float64, int32, int64.

• name (str, optional) – Name for the operation (optional, default is None). For more information, please refer to Name.

Returns

A Sparse Tensor with the same data type and shape as x .

Examples

import paddle