文章分类 -  api

一些包的api
摘要:from PIL import Image img_file = 'dog.jpg' img = Image.open(img_file) img.show() test = img.crop((0,0,1000,1000)) test.show() img.crop((left,upper,dow 阅读全文
posted @ 2022-06-27 22:38 qufang 阅读(20) 评论(0) 推荐(0)
摘要:1. grid_sample函数的接口声明 torch.nn.functional.grid_sample(input, grid, mode='bilinear', padding_mode='zeros', align_corners=None) 在官方文档里面关于该函数的作用是这样描述的: G 阅读全文
posted @ 2022-06-27 22:35 qufang 阅读(936) 评论(0) 推荐(0)