configure_parser.h 480 字节
Newer Older
W
wangguibao 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#pragma once
#include <google/protobuf/message.h>

namespace baidu {
namespace paddle_serving {
namespace configure {
int read_proto_conf(const std::string &conf_path,
                   const std::string &conf_file,
                   google::protobuf::Message *conf);

int write_proto_conf(google::protobuf::Message *message,
                    const std::string &output_path,
                    const std::string &output_file);

} // configure
} // paddle_serving
} // baidu