Remove incorrect statement in compare_op.h (#8416)
Remove incorrect statement in compare_op.h (#8416)

The type of tensor z should be bool. And there's no need to call mutable_data because ElementwiseComputeEx will do it.
jacquesqiao/Paddle,tensor-tang/Paddle,lcy-seso/Paddle,reyoung/Paddle,PaddlePaddle/Paddle,pkuyym/Paddle,reyoung/Paddle,lcy-seso/Paddle,baidu/Paddle,PaddlePaddle/Paddle,lcy-seso/Paddle,tensor-tang/Paddle,jacquesqiao/Paddle,lcy-seso/Paddle,reyoung/Paddle,pkuyym/Paddle,jacquesqiao/Paddle,baidu/Paddle,putcn/Paddle,pkuyym/Paddle,luotao1/Paddle,baidu/Paddle,baidu/Paddle,QiJune/Paddle,jacquesqiao/Paddle,lcy-seso/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,luotao1/Paddle,baidu/Paddle,Canpio/Paddle,Canpio/Paddle,luotao1/Paddle,Canpio/Paddle,QiJune/Paddle,QiJune/Paddle,putcn/Paddle,putcn/Paddle,Canpio/Paddle,chengduoZH/Paddle,luotao1/Paddle,reyoung/Paddle,reyoung/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,Canpio/Paddle,lcy-seso/Paddle,QiJune/Paddle,putcn/Paddle,tensor-tang/Paddle,pkuyym/Paddle,chengduoZH/Paddle,jacquesqiao/Paddle,tensor-tang/Paddle,luotao1/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle,Canpio/Paddle,jacquesqiao/Paddle,putcn/Paddle,PaddlePaddle/Paddle,QiJune/Paddle,chengduoZH/Paddle,Canpio/Paddle,reyoung/Paddle,pkuyym/Paddle,luotao1/Paddle,putcn/Paddle,tensor-tang/Paddle,pkuyym/Paddle,Canpio/Paddle,PaddlePaddle/Paddle,chengduoZH/Paddle