Skip to content

Tensor.ToFloat

Name Mandatory Description Default Type
⬅️ Input The input of the shard, if any Tensor
Output ➡️ The resulting output of the shard Float

Converts a single-element tensor to a float (f64) scalar.