diff --git a/include/nnvm/node.h b/include/nnvm/node.h index bcfdb95c4..a42b2f2c9 100644 --- a/include/nnvm/node.h +++ b/include/nnvm/node.h @@ -85,12 +85,6 @@ struct NodeAttrs { std::string name; /*! \brief The dictionary representation of attributes */ std::unordered_map dict; - /*! - * \brief A parsed version of attributes, - * This is generated if OpProperty.attr_parser is registered. - * The object can be used to quickly access attributes. - */ - any parsed; /*! * \brief Some operators take graphs as input. These operators include * control flow operators and high-order functions. @@ -99,6 +93,12 @@ struct NodeAttrs { * the parameters and show be kept as node attributes. */ std::vector > subgraphs; + /*! + * \brief A parsed version of attributes, + * This is generated if OpProperty.attr_parser is registered. + * The object can be used to quickly access attributes. + */ + any parsed; }; /*!