StreamingSafeTensorInfo
data class StreamingSafeTensorInfo(val name: String, val dtype: String, val dataType: DataType, val shape: List<Long>, val elementCount: Long, val dataOffsetStart: Long, val dataOffsetEnd: Long, val sizeInBytes: Int, val absoluteDataOffset: Long)(source)
Tensor metadata for streaming access.
Contains all information needed to describe a tensor without loading its actual data.
Constructors
Properties
Link copied to clipboard
Absolute byte offset in file
Link copied to clipboard
End offset relative to data section
Link copied to clipboard
Start offset relative to data section
Link copied to clipboard
Total number of elements
Link copied to clipboard
Whether this tensor uses an unknown/unsupported data type
Link copied to clipboard
Size in bytes