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

tensorlayerx.argmax没有参数keepdim,但paddle.argmax有 #45

Open
zhxiucui opened this issue Nov 18, 2022 · 0 comments
Open

tensorlayerx.argmax没有参数keepdim,但paddle.argmax有 #45

zhxiucui opened this issue Nov 18, 2022 · 0 comments

Comments

@zhxiucui
Copy link

zhxiucui commented Nov 18, 2022

paddle源码paddle.argmax(x, axis=None, keepdim=False, dtype='int64', name=None)
其中keepdim(bool,可选)- 是否在输出Tensor中保留减小的维度。如果 keepdim 为True,则输出Tensor和 x 具有相同的维度(减少的维度除外,减少的维度的大小为1),默认值为False。

tensorlayerx源码paddle.argmax(x, axis=None, dtype='int64')

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

1 participant