def _gen_tree(i, tree):
    name = "{name}_{index}".format(name=EVALUATE_FN_NAME, index=i)
    gen_tree = CodeGenerator()
    return code_gen_tree(tree, name, gen_tree)
Generates cpp code for i'th tree.
dataset/ETHPy150Open ajtulloch/sklearn-compiledtrees/compiledtrees/code_gen.py/_gen_tree