FloatBufferTensorData

Marker interface for tensor data backed by a direct FloatBuffer. This enables zero-copy memory-mapped file access on the JVM.

Backends can check for this interface to use buffer-based operations instead of array-based operations.

Inheritors

Properties

Link copied to clipboard
abstract val floatBuffer: FloatBuffer

The underlying FloatBuffer providing direct access to tensor data. For mmap-backed data, this is a view of the memory-mapped region.