You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: safetensors-save-load.rs
    path of file: ./repos/dfdx/dfdx/examples
    
    the code of the file until where you have to start completion: //! Demonstrates how to save and load arrays with safetensors

#[cfg(feature = "safetensors")]
fn main() {
    use dfdx::prelude::*;

    let dev: Cpu = Default::default();

    type Model = (LinearConstConfig<
    
fn main() {
    use dfdx::prelude::*;

    let dev: Cpu = Default::default();

    type Model = (LinearConstConfig<5, 10>, LinearConstConfig<10, 5>);

    let model = dev.build_module::<f32>(Model::default());
    model
        .save_safetensors("model.safetensors")
        .expect("Failed to save model");

    let mut model2 = dev.build_module::<f32>(Model::default());
    model2
        .load_safetensors("model.safetensors")
        .expect("Failed to load model");

    assert_eq!(model.0.weight.array(), model2.0.weight.array());
}