文章分类 - 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
阅读全文
摘要:1. grid_sample函数的接口声明 torch.nn.functional.grid_sample(input, grid, mode='bilinear', padding_mode='zeros', align_corners=None) 在官方文档里面关于该函数的作用是这样描述的: G
阅读全文

浙公网安备 33010602011771号