treelite
Functions
code_folding_util.h File Reference

Utilities for code folding. More...

#include <dmlc/logging.h>
#include <treelite/common.h>
#include <fmt/format.h>
#include <queue>
#include <set>
#include <string>
#include <vector>
#include <unordered_map>
#include "../ast/ast.h"
#include "./categorical_bitmap.h"
Include dependency graph for code_folding_util.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename OutputFormatFunc >
void RenderCodeFolderArrays (const CodeFolderNode *node, bool quantize, bool use_boolean_literal, const char *node_entry_template, OutputFormatFunc RenderOutputStatement, std::string *array_nodes, std::string *array_cat_bitmap, std::string *array_cat_begin, std::string *output_switch_statements, Operator *common_comp_op)
 

Detailed Description

Utilities for code folding.

Copyright (c) 2018 by Contributors

Author
Philip Cho

Definition in file code_folding_util.h.