Skip to main content

map_tensor_name

Function map_tensor_name 

Source
pub fn map_tensor_name(hf_name: &str) -> Option<String>
Expand description

Convert a Chronos-2 HuggingFace tensor name to the GGUF naming convention. Returns None for unrecognised names (caller will warn and skip them).

Tensor names are derived from the Python class hierarchy in model.py / layers.py.