loadToMap
suspend fun <T : DType> loadToMap(ctx: ExecutionContext, dtype: KClass<T>): Gemma3nWeights<T, Float>(source)
Load weights into a map, mapping HuggingFace names to GGUF-style names.
Return
Gemma3nWeights with mapped tensor names
Parameters
ctx
Execution context for tensor operations
dtype
Target dtype (FP32 or FP16)