StreamingOnnxTensorInfo
data class StreamingOnnxTensorInfo(val name: String, val dims: List<Long>, val dataType: Int, val dataTypeName: String, val nElements: Long, val rawDataOffset: Long, val rawDataLength: Int, val estimatedBytes: Int, val hasTypedArrayData: Boolean)(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
ONNX data type name (e.g., "FLOAT", "INT8")
Link copied to clipboard
Estimated size in bytes (from raw_data or calculated)
Link copied to clipboard
True if tensor data is in typed arrays (requires full parsing)
Link copied to clipboard
Length of raw_data in bytes (0 if not available)
Link copied to clipboard
Byte offset of raw_data in file (-1 if not available)