warp.dtype_to_paddle#

warp.dtype_to_paddle(warp_dtype)[source]#

Return the Paddle dtype corresponding to a Warp dtype.

Parameters:

warp_dtype – A Warp data type that has a corresponding paddle.dtype. warp.uint16, warp.uint32, and warp.uint64 are mapped to the signed integer paddle.dtype of the same width.

Raises:

TypeError – Unable to find a corresponding PyPaddle data type.