treelite
Classes | Macros | Functions
builder.cc File Reference

model builder frontend More...

#include <dmlc/registry.h>
#include <treelite/frontend.h>
#include <treelite/tree.h>
#include <memory>
#include <queue>
#include "../c_api/c_api_error.h"
Include dependency graph for builder.cc:

Go to the source code of this file.

Classes

struct  TreeBuilderImpl
 
struct  ModelBuilderImpl
 

Macros

#define CHECK_EARLY_RETURN(x, msg)
 

Functions

 DMLC_REGISTRY_FILE_TAG (builder)
 

Detailed Description

model builder frontend

Copyright 2017 by Contributors

Author
Philip Cho

Definition in file builder.cc.

Macro Definition Documentation

◆ CHECK_EARLY_RETURN

#define CHECK_EARLY_RETURN (   x,
  msg 
)
Value:
if (!(x)) { \
TreeliteAPISetLastError(msg); \
dmlc::LogMessage(__FILE__, __LINE__).stream() << msg; \
return false; \
}

Definition at line 15 of file builder.cc.