Treelite
Public Member Functions | List of all members
ASTNativeCompiler Class Reference
Inheritance diagram for ASTNativeCompiler:
Inheritance graph
[legend]
Collaboration diagram for ASTNativeCompiler:
Collaboration graph
[legend]

Public Member Functions

 ASTNativeCompiler (const CompilerParam &param)
 
CompiledModel Compile (const Model &model) override
 convert tree ensemble model More...
 
CompilerParam QueryParam () const override
 Query the parameters used to intiailize the compiler. More...
 
- Public Member Functions inherited from Compiler
virtual ~Compiler ()=default
 virtual destructor
 

Additional Inherited Members

- Static Public Member Functions inherited from Compiler
static CompilerCreate (const std::string &name, const char *param_json_str)
 create a compiler from given name More...
 

Detailed Description

Definition at line 20 of file ast_native.h.

Member Function Documentation

◆ Compile()

CompiledModel Compile ( const Model model)
overridevirtual

convert tree ensemble model

Returns
compiled model

Implements Compiler.

Definition at line 714 of file ast_native.cc.

◆ QueryParam()

CompilerParam QueryParam ( ) const
overridevirtual

Query the parameters used to intiailize the compiler.

Returns
parameters used

Implements Compiler.

Definition at line 719 of file ast_native.cc.


The documentation for this class was generated from the following files: