wrapFloatArray
open fun <T : DType, V> wrapFloatArray(shape: Shape, dtype: KClass<T>, data: FloatArray): TensorData<T, V>(source)
Wraps a FloatArray without copying. The caller must ensure the array is not mutated while the returned TensorData is in use. Default implementation falls back to fromFloatArray (which copies).