faster_wavenet.py 文件源码

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

项目:wavenet 作者: musyoku 项目源码 文件源码
def _forward_softmax_block(self, x_batch, apply_softmax=True):
        input_batch = Variable(x_batch)
        for layer in self.softmax_conv_layers:
            input_batch = F.elu(input_batch)
            output = layer(input_batch)
            input_batch = output
        if apply_softmax:
            output = F.softmax(output)
        return output
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号