treelite
Functions
protobuf.cc File Reference

Frontend for protobuf model. More...

#include <treelite/tree.h>
#include <queue>
Include dependency graph for protobuf.cc:

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...
 

Detailed Description

Frontend for protobuf model.

Copyright 2017 by Contributors

Author
Philip Cho

Definition in file protobuf.cc.

Function Documentation

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.

Parameters
filenamename of model file
Returns
loaded model

Definition at line 210 of file protobuf.cc.