net.py 文件源码

python
阅读 26 收藏 0 点赞 0 评论 0

项目:tensorboard-pytorch 作者: lanpa 项目源码 文件源码
def __call__(self, z):
        h = F.reshape(F.relu(self.bn0(self.l0(z))),
                      (len(z), self.ch, self.bottom_width, self.bottom_width))
        h = F.relu(self.bn1(self.dc1(h)))
        h = F.relu(self.bn2(self.dc2(h)))
        h = F.relu(self.bn3(self.dc3(h)))
        x = F.sigmoid(self.dc4(h))
        return x
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号