打印show attend and tell的编码器网络结构 encoder = Encoder() print(encoder) 输出: Encoder( (resnet): Sequential( (0): Conv2d(3, 64