Treelite
src
optable.cc
Go to the documentation of this file.
1
8
#include <
treelite/base.h
>
9
10
namespace
treelite
{
11
12
const
std::unordered_map<std::string, Operator>
optable
{
13
{
"=="
, Operator::kEQ},
14
{
"<"
, Operator::kLT},
15
{
"<="
, Operator::kLE},
16
{
">"
, Operator::kGT},
17
{
">="
, Operator::kGE}
18
};
19
20
}
// namespace treelite
treelite
Definition:
annotator.h:14
treelite::optable
const std::unordered_map< std::string, Operator > optable
conversion table from string to operator, defined in optable.cc
Definition:
optable.cc:12
base.h
defines configuration macros of Treelite
Generated by
1.8.13