treelite
|
Frontend for protobuf model. More...
Go to the source code of this file.
Functions | |
DMLC_REGISTRY_FILE_TAG (protobuf) | |
Model | LoadProtobufModel (const char *filename) |
load a model in Protocol Buffers format. Protocol Buffers (google/protobuf) is a language- and platform-neutral mechanism for serializing structured data. See tree.proto for format spec. More... | |
void | ExportProtobufModel (const char *filename, const Model &model) |
export a model in Protocol Buffers format. Protocol Buffers (google/protobuf) is a language- and platform-neutral mechanism for serializing structured data. See src/tree.proto for format spec. More... | |
void ExportProtobufModel | ( | const char * | filename, |
const Model & | model | ||
) |
export a model in Protocol Buffers format. Protocol Buffers (google/protobuf) is a language- and platform-neutral mechanism for serializing structured data. See src/tree.proto for format spec.
filename | name of model file |
model | model to export |
Definition at line 341 of file protobuf.cc.
Model LoadProtobufModel | ( | const char * | filename | ) |
load a model in Protocol Buffers format. Protocol Buffers (google/protobuf) is a language- and platform-neutral mechanism for serializing structured data. See tree.proto for format spec.
filename | name of model file |
Definition at line 336 of file protobuf.cc.