Skip to main content

validate_index

Function validate_index 

Source
fn validate_index(
    index: &Option<BTreeMap<String, String>>,
    tensors: &[Tensor],
    shard: &str,
) -> Result<()>