Created by: zhiqiu
PR types
Others
PR changes
APIs
Describe
Enhance paddle.squeeze
- Update signature
paddle.squeeze(input, axes, out=None, name=None)
->paddle.squeeze(x, axis=None, name=None)
- Support
None, int, and list
foraxis
- Return
x
unchanged if its shape is[A, 1, B, 1]
andaxis
is0
instead of raising exception - Code clean