mindspore.Tensor.float ====================== .. py:method:: mindspore.Tensor.float() 将输入Tensor转换为 `float32` 类型。 返回: Tensor,其数据类型为 `float32`。