Created by: FrostML
Before this fix, the PD_Tensor
's PD_GetPaddleTensorShape
need a pointer to a pointer to get the shape's size. This PR correct this.
Moreover, directly return shape.data() may not work properly every time and this problem is also fixed.
Moreover, fix predictor cannot print profile message bug.