MmapFloatTensorData

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

Parameters

initialShape

the shape of the tensor

buffer

the underlying byte buffer (typically a MappedByteBuffer slice)

Type Parameters

T

the data type constraint extending DType