MmapFloatTensorData

constructor(initialShape: Shape, buffer: ByteBuffer)(source)

Parameters

T

the data type constraint extending DType

initialShape

the shape of the tensor

buffer

the underlying byte buffer (typically a MappedByteBuffer slice)