Package-level declarations

Types

Link copied to clipboard
data class MappingConfig(val usePathBasedMatching: Boolean = true, val fallbackToShapeMatching: Boolean = true, val debug: Boolean = false)

Configuration for weight mapping behavior.

Link copied to clipboard
data class WeightLoadResult<T : DType, V>(val tensors: List<WeightTensor<T, V>>, val skipped: List<String> = emptyList())

Result of loading weight tensors from a model file.

Link copied to clipboard

Unified weight mapping utility for applying loaded weights to SKaiNET modules.

Link copied to clipboard
data class WeightTensor<T : DType, V>(val name: String, val shape: List<Int>, val tensor: Tensor<T, V>, val isBias: Boolean = name.lowercase().contains("bias"))

Format-agnostic representation of a weight tensor loaded from any model format (ONNX, GGUF, SafeTensors, etc.).