Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

【PaddlePaddle Hackathon 77】Add squeeze op #874

Merged
merged 25 commits into from
Sep 1, 2022

Conversation

zrr1999
Copy link
Member

@zrr1999 zrr1999 commented Aug 9, 2022

添加 squeeze 算子,后续可以添加 paddle 模型支持

详细内容参考为神经网络编译器 CINN 增加 squeeze 算子,按照上次直播的要求把主要内容放在了contrib文件夹中,并添加了单元测试

cinn/frontend/net_builder_test.cc Outdated Show resolved Hide resolved
cinn/pybind/frontend.cc Show resolved Hide resolved
cinn/hlir/op/contrib/squeeze_test.cc Outdated Show resolved Hide resolved
cinn/hlir/op/contrib/squeeze.h Outdated Show resolved Hide resolved
cinn/frontend/net_builder_test.cc Show resolved Hide resolved
cinn/hlir/op/contrib/squeeze.cc Outdated Show resolved Hide resolved
cinn/hlir/op/contrib/squeeze.cc Outdated Show resolved Hide resolved
cinn/hlir/op/contrib/squeeze_test.cc Outdated Show resolved Hide resolved
# Conflicts:
#	cinn/frontend/net_builder.cc
#	cinn/frontend/net_builder.h
Copy link
Member

@zhhsplendid zhhsplendid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR可能因为别的PR合入产生了conflict,请根据Github CI界面下面的提示修复一下conflict,然后我继续review

python/tests/ops/test_squeeze_op.py Outdated Show resolved Hide resolved
python/tests/ops/test_squeeze_op.py Outdated Show resolved Hide resolved
cinn/frontend/net_builder_test.cc Outdated Show resolved Hide resolved
cinn/hlir/op/contrib/squeeze.cc Outdated Show resolved Hide resolved
# Conflicts:
#	cinn/frontend/net_builder.cc
#	cinn/frontend/net_builder.h
#	cinn/pybind/frontend.cc
# Conflicts:
#	cinn/frontend/net_builder_test.cc
#	cinn/hlir/op/contrib/CMakeLists.txt
# Conflicts:
#	cinn/frontend/net_builder_test.cc
#	cinn/hlir/op/contrib/CMakeLists.txt
# Conflicts:
#	cinn/frontend/net_builder.cc
#	cinn/frontend/net_builder.h
#	cinn/frontend/net_builder_test.cc
#	cinn/hlir/op/contrib/CMakeLists.txt
#	cinn/hlir/op/use_ops.h
# Conflicts:
#	cinn/frontend/net_builder.cc
#	cinn/frontend/net_builder.h
#	cinn/frontend/net_builder_test.cc
#	cinn/hlir/op/contrib/CMakeLists.txt
#	cinn/hlir/op/use_ops.h
@zrr1999
Copy link
Member Author

zrr1999 commented Aug 31, 2022

@zhhsplendid CI已经全部通过

Copy link
Member

@zhhsplendid zhhsplendid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@zhhsplendid zhhsplendid merged commit 9e1a1b6 into PaddlePaddle:develop Sep 1, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants