Function operator=

Synopsis

#include <include/thundergbm/tree.h>

Tree & operator=(const Tree &tree)

Description

No description yet.

Source

Lines 51-55 in include/thundergbm/tree.h.

Tree &operator=(const Tree &tree) {
    nodes.resize(tree.nodes.size());
    nodes.copy_from(tree.nodes);
    return *this;
}





Add Discussion as Guest

Log in