Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tlxnn.AvgPool2d() 中没有参数ceil_mode=True #42

Open
Eric-yuye opened this issue Nov 17, 2022 · 1 comment
Open

tlxnn.AvgPool2d() 中没有参数ceil_mode=True #42

Eric-yuye opened this issue Nov 17, 2022 · 1 comment

Comments

@Eric-yuye
Copy link

No description provided.

@zhxiucui
Copy link

zhxiucui commented Nov 21, 2022

paddle源码
class paddle.nn.AvgPool2D(kernel_size, stride=None, padding=0, ceil_mode=False, exclusive=True, divisor_override=None, data_format='NCHW', name=None)
其中,ceil_mode (bool,可选):是否用ceil函数计算输出高度和宽度。如果是True,则使用 ceil 计算输出形状的大小。默认为False。
exclusive (bool,可选): 是否在平均池化模式忽略填充值,默认是 True.

#######################################################################
tensorlayerx源码
class tensorlayerx.nn.AvgPool2d(kernel_size=(3, 3), stride=(2, 2),padding='SAME', data_format='channels_last',name=None ):

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants