cast_

paddle. cast_ ( x, dtype ) [source]

Inplace version of cast API, the output Tensor will be inplaced with input x. Please refer to cast.