functions.py 文件源码

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

项目:vaegan 作者: anitan0925 项目源码 文件源码
def conv( x, w, b=None ):
    s = int(np.floor(w.get_value().shape[-1]/2.))
    z = conv2d(x, w, border_mode='full')[:, :, s:-s, s:-s]
    if b is not None:
        z += b.dimshuffle('x', 0, 'x', 'x')

    return z
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号