treelite
|
Defines enum type TypeInfo. More...
#include <treelite/logging.h>
#include <cstdint>
#include <string>
#include <type_traits>
#include <typeinfo>
Go to the source code of this file.
Namespaces | |
treelite | |
Enumerations | |
enum class | treelite::TypeInfo : std::uint8_t { treelite::kInvalid = 0 , treelite::kUInt32 = 1 , treelite::kFloat32 = 2 , treelite::kFloat64 = 3 } |
Types used by thresholds and leaf outputs. More... | |
Functions | |
std::string | treelite::TypeInfoToString (treelite::TypeInfo info) |
Get string representation of TypeInfo. More... | |
TypeInfo | treelite::TypeInfoFromString (std::string const &str) |
Get TypeInfo from string. More... | |
template<typename T > | |
TypeInfo | treelite::TypeInfoFromType () |
Convert a template type into a type info. More... | |
Defines enum type TypeInfo.
Copyright (c) 2017-2023 by Contributors