Treelite
|
Frontend for Protobuf model. More...
#include <dmlc/logging.h>
#include <dmlc/registry.h>
#include <dmlc/io.h>
#include <treelite/tree.h>
#include <queue>
Go to the source code of this file.
Functions | |
DMLC_REGISTRY_FILE_TAG (protobuf) | |
Model | LoadProtobufModel (const char *filename) |
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... | |
Frontend for Protobuf model.
Copyright (c) 2017-2020 by Contributors
Definition in file protobuf.cc.
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 345 of file protobuf.cc.