摘要: 使用pytorch实现HWC转CHW分析 import torch import numpy as np from torchvision.transforms import ToTensor t = torch.tensor(np.arange(24).reshape(2,4,3)) print( 阅读全文
posted @ 2024-06-13 04:14 吴建明wujianming 阅读(242) 评论(0) 推荐(0)