SafeTensorsIndexMetadata

data class SafeTensorsIndexMetadata(val totalSize: Long?, val additionalFields: Map<String, String> = emptyMap())(source)

Represents the metadata from a SafeTensors index file.

Constructors

Link copied to clipboard
constructor(totalSize: Long?, additionalFields: Map<String, String> = emptyMap())

Properties

Link copied to clipboard

Any additional metadata fields beyond total_size

Link copied to clipboard

Total size in bytes of all tensor data (from "total_size" field)