float64

paddle.Tensor. float64 ( self: Tensor ) Tensor

Cast a Tensor to float64 data type if it differs from the current dtype; otherwise, return the original Tensor. :returns: a new Tensor with float64 dtype :rtype: Tensor