Function tch::vision::imagenet::load_image_and_resize224_from_memory
source · Expand description
Loads an image from memory and resize it to 224x224. This applies the ImageNet normalization.