Treelite
|
interface of compiler More...
#include <compiler.h>
Public Member Functions | |
virtual | ~Compiler ()=default |
virtual destructor | |
virtual compiler::CompiledModel | Compile (const Model &model)=0 |
convert tree ensemble model More... | |
virtual compiler::CompilerParam | QueryParam () const =0 |
Query the parameters used to intiailize the compiler. More... | |
Static Public Member Functions | |
static Compiler * | Create (const std::string &name, const char *param_json_str) |
create a compiler from given name More... | |
interface of compiler
Definition at line 53 of file compiler.h.
|
pure virtual |
convert tree ensemble model
Implemented in FailSafeCompiler, and ASTNativeCompiler.
|
static |
create a compiler from given name
name | name of compiler |
param_json_string | JSON string representing |
Definition at line 16 of file compiler.cc.
|
pure virtual |
Query the parameters used to intiailize the compiler.
Implemented in FailSafeCompiler, and ASTNativeCompiler.