save_image

Function save_image 

Source
pub fn save_image<P: AsRef<Path>>(img: &Tensor, p: P) -> Result<()>
Expand description

Saves an image to disk using the image crate, this expects an input with shape (c, height, width).