Error: no matching function for call to ‘InferShapes

shape_type_inference.cpp:1989:47: error: no matching function for call to ‘InferShapes(std::__shared_ptr_access<onnx_torch::ModelProto, __gnu_cxx::_S_atomic, false, false>::element_type&, onnx_torch::OpSchemaRegistry*&, onnx_torch::ShapeInferenceOptions&, torch::jit::ShapeDataMap*)’
 1989 |             onnx::shape_inference::InferShapes

Can anybody help??