[][src]Function tch::vision::imagenet::save_image

pub fn save_image<T: AsRef<Path>>(tensor: &Tensor, path: T) -> Fallible<()>

Saves an image to a path. This unapplies the ImageNet normalization.