Home
last modified time | relevance | path

Searched refs:preprocess (Results 1 – 2 of 2) sorted by relevance

/wasmtime-44.0.1/crates/wasi-nn/examples/classification-example-pytorch/src/
H A Dmain.rs16 let tensor_data = preprocess( in main()
42 fn preprocess(image: &[u8], height: u32, width: u32, mean: &[f32], std: &[f32]) -> Vec<u8> { in preprocess() function
/wasmtime-44.0.1/crates/wasi-nn/examples/classification-example-winml/src/
H A Dmain.rs19 let tensor_data = preprocess( in main()
79 fn preprocess(image: &[u8], height: u32, width: u32, mean: &[f32], std: &[f32]) -> Vec<u8> { in preprocess() function