Fork自 PaddlePaddle / Paddle
and optimize the c++ implmentation of empty op as PR#26659 reviews, and add bool for shape op.