materialize

Lazily materialize the raw payload for the given tensor, honoring its ggml quantization. Returns a typed Kotlin List corresponding to the underlying storage:

  • F32 -> List, F64 -> List, I8 -> List, I16 -> List, I32 -> List, I64 -> List

  • Quantized types -> List of raw bytes with shape adapted via quantShapeToByteShape