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, andwarp.uint64are mapped to the signed integerpaddle.dtypeof the same width.- Raises:
TypeError – Unable to find a corresponding PyPaddle data type.