Commit be199635 by Junyuan Xie Committed by Tianqi Chen

add scalars

parent efc87f1d
...@@ -48,6 +48,8 @@ struct NodeEntry { ...@@ -48,6 +48,8 @@ struct NodeEntry {
struct NodeAttrs { struct NodeAttrs {
/*! \brief name of the node */ /*! \brief name of the node */
std::string name; std::string name;
/*! \brief Vector representation of positional attributes */
std::vector<double> scalars;
/*! \brief The dictionary representation of attributes */ /*! \brief The dictionary representation of attributes */
std::unordered_map<std::string, std::string> dict; std::unordered_map<std::string, std::string> dict;
/*! /*!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment