Companion

Functions

Link copied to clipboard
fun fromChannel(channel: FileChannel, offset: Long = 0, size: Long = channel.size() - offset): MmapTensorSource

Memory-map an entire file for reading.