Skip to content

Tensor.ToFloat4s

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

Flattens a tensor into a Shards sequence of Float4 vectors (4 32-bit floats). Fails if the tensor size is not divisible by 4.