首页 > 技术文章 > HWC 转换 CHW
ldcs 2020-06-20 10:44 原文
a.shape() #(100,100,3)
b=a.transpose(3, 1, 2)
b.shape() #(3,100,100)