摘要: 风格迁移中广泛使用的 def gram_matrix(y): """ Returns the gram matrix of y (used to compute style loss) """ (b, c, h, w) = y.size() features = y.view(b, c, w * h 阅读全文
posted @ 2021-07-28 11:04 Jiahui_Zhan 阅读(870) 评论(3) 推荐(1) 编辑