pool.py 文件源码

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

项目:lemontree 作者: khshim 项目源码 文件源码
def get_output(self, input_):
        """
        This function overrides the parents' one.
        Creates symbolic function to compute output from an input.

        Parameters
        ----------
        input_: TensorVariable

        Returns
        -------
        TensorVariable
        """
        return pool_2d(input_,
                       ws=self.kernel_shape,
                       ignore_border=True,  # if you don't want to ignore border, use padding
                       stride=self.stride,
                       pad=self.padding,
                       mode=self.pool_mode)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号