Method ToReadOnlySpan ToReadOnlySpan() Returns a ReadOnlySpan on the linear memory representation of the data in this tensor. Declaration public ReadOnlySpan<float> ToReadOnlySpan() Returns Type Description ReadOnlySpan<float> Span of tensor data.