pub trait GgufTensorNameResolver: Send + Sync {
// Required methods
fn matches_arch(&self, arch: &str) -> bool;
fn resolve(&self, file: &GgufFile, requested_key: &str) -> Option<String>;
}Expand description
Resolve a builder-requested tensor name to the name stored in a GGUF file.
Required Methods§
fn matches_arch(&self, arch: &str) -> bool
fn resolve(&self, file: &GgufFile, requested_key: &str) -> Option<String>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".