c++ 预测报错
Created by: yunmi
C++ Call Stacks (More useful to developers):
0 std::string paddle::platform::GetTraceBackString<std::string const&>(std::string const&, char const*, int) 1 paddle::operators::FusionRepeatedFCReluOp::InferShape(paddle::framework::InferShapeContext*) const 2 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&, paddle::framework::RuntimeContext*) const 3 paddle::framework::OperatorWithKernel::RunImpl(paddle::framework::Scope const&, paddle::platform::Place const&) const 4 paddle::framework::OperatorBase::Run(paddle::framework::Scope const&, paddle::platform::Place const&) 5 paddle::framework::NaiveExecutor::Run() 6 paddle::AnalysisPredictor::Run(std::vector<paddle::PaddleTensor, std::allocatorpaddle::PaddleTensor > const&, std::vector<paddle::PaddleTensor, std::allocatorpaddle::PaddleTensor >*, int)
Error Message Summary:
InvalidArgumentError: The length of Bias must be equal with w_dims[1], but received product(b_dims[1]) = 128, w_dims[1][1] = 132. [Hint: Expected framework::product(b_dims[i]) == w_dims[i][1], but received framework::product(b_dims[i]):128 != w_dims[i][1]:132.] at (/tmp/paddlepaddle/Paddle/paddle/fluid/operators/fused/fusion_repeated_fc_relu_op.cc:77)