treelite
|
Typed portion of the model class. More...
#include <tree.h>
Public Types | |
using | threshold_type = ThresholdT |
using | leaf_output_type = LeafOutputT |
Public Member Functions | |
ModelPreset ()=default | |
disable copy; use default move More... | |
~ModelPreset ()=default | |
ModelPreset (ModelPreset const &)=delete | |
ModelPreset & | operator= (ModelPreset const &)=delete |
ModelPreset (ModelPreset &&) noexcept=default | |
ModelPreset & | operator= (ModelPreset &&) noexcept=default |
TypeInfo | GetThresholdType () const |
TypeInfo | GetLeafOutputType () const |
std::size_t | GetNumTree () const |
void | SetTreeLimit (std::size_t limit) |
Public Attributes | |
std::vector< Tree< ThresholdT, LeafOutputT > > | trees |
member trees More... | |
Typed portion of the model class.
using treelite::ModelPreset< ThresholdT, LeafOutputT >::leaf_output_type = LeafOutputT |
using treelite::ModelPreset< ThresholdT, LeafOutputT >::threshold_type = ThresholdT |
|
default |
disable copy; use default move
|
default |
|
delete |
|
defaultnoexcept |
|
inline |
|
inline |
|
inline |
|
defaultnoexcept |
|
delete |
|
inline |
std::vector<Tree<ThresholdT, LeafOutputT> > treelite::ModelPreset< ThresholdT, LeafOutputT >::trees |
member trees