欢迎使用MindFormers
特性
开发实践
模型
任务
API
FAQ
mindformers.models.swin.
SwinImageProcessor
SwinImageProcessor.
image_resolution (int) – the target size.
preprocess
Preprocess required by base processor.
images (tensor, PIL.Image, numpy.array, list) – a batch of images.
A 4-rank tensor for a batch of images.