floatTensorAt

fun <T : DType> floatTensorAt(byteOffset: Long, shape: Shape): MmapFloatTensorData<T>(source)

Creates a tensor data view at the specified byte offset.

Return

MmapFloatTensorData backed by the mapped memory

Parameters

T

the data type constraint

byteOffset

offset in bytes from the start of the mapped region

shape

the shape of the tensor to create