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)
评论列表
文章目录