|
template<typename tl_threshold_t , typename tl_output_t , typename lambda_t > |
void | node_for_each (treelite::Tree< tl_threshold_t, tl_output_t > const &tl_tree, lambda_t &&lambda) |
|
template<typename tl_threshold_t , typename tl_output_t , typename iter_t , typename lambda_t > |
void | node_transform (treelite::Tree< tl_threshold_t, tl_output_t > const &tl_tree, iter_t output_iter, lambda_t &&lambda) |
|
template<typename tl_threshold_t , typename tl_output_t , typename T , typename lambda_t > |
auto | node_accumulate (treelite::Tree< tl_threshold_t, tl_output_t > const &tl_tree, T init, lambda_t &&lambda) |
|
template<typename tl_threshold_t , typename tl_output_t > |
auto | get_nodes (treelite::Tree< tl_threshold_t, tl_output_t > const &tl_tree) |
|
template<typename tl_threshold_t , typename tl_output_t > |
auto | get_offsets (treelite::Tree< tl_threshold_t, tl_output_t > const &tl_tree) |
|
template<typename lambda_t > |
void | tree_for_each (treelite::Model const &tl_model, lambda_t &&lambda) |
|
template<typename iter_t , typename lambda_t > |
void | tree_transform (treelite::Model const &tl_model, iter_t output_iter, lambda_t &&lambda) |
|
template<typename T , typename lambda_t > |
auto | tree_accumulate (treelite::Model const &tl_model, T init, lambda_t &&lambda) |
|
auto | num_trees (treelite::Model const &tl_model) |
|
auto | get_offsets (treelite::Model const &tl_model) |
|
auto | get_tree_sizes (treelite::Model const &tl_model) |
|
auto | get_num_class (treelite::Model const &tl_model) |
|
auto | get_num_feature (treelite::Model const &tl_model) |
|
auto | get_max_num_categories (treelite::Model const &tl_model) |
|
auto | get_num_categorical_nodes (treelite::Model const &tl_model) |
|
auto | get_num_leaf_vector_nodes (treelite::Model const &tl_model) |
|
auto | get_average_factor (treelite::Model const &tl_model) |
|
auto | get_bias (treelite::Model const &tl_model) |
|
auto | get_postproc_params (treelite::Model const &tl_model) |
|
auto | uses_double_thresholds (treelite::Model const &tl_model) |
|
auto | uses_double_outputs (treelite::Model const &tl_model) |
|
auto | uses_integer_outputs (treelite::Model const &tl_model) |
|
template<index_type variant_index> |
auto | import_to_specific_variant (index_type target_variant_index, treelite::Model const &tl_model, index_type num_class, index_type num_feature, index_type max_num_categories, std::vector< std::vector< index_type >> const &offsets, index_type align_bytes=index_type{}, raft_proto::device_type mem_type=raft_proto::device_type::cpu, int device=0, raft_proto::cuda_stream stream=raft_proto::cuda_stream{}) |
|
auto | import (treelite::Model const &tl_model, index_type align_bytes=index_type{}, std::optional< bool > use_double_precision=std::nullopt, raft_proto::device_type dev_type=raft_proto::device_type::cpu, int device=0, raft_proto::cuda_stream stream=raft_proto::cuda_stream{}) |
|