|
|
|
@ -33,10 +33,10 @@ using VariableNameMap = std::map<std::string, std::vector<std::string>>;
|
|
|
|
|
|
|
|
|
|
// The order should be as same as framework.proto
|
|
|
|
|
using Attribute =
|
|
|
|
|
boost::variant<boost::blank, int, int64_t, float, std::string,
|
|
|
|
|
std::vector<int>, std::vector<int64_t>, std::vector<float>,
|
|
|
|
|
std::vector<std::string>, bool, std::vector<bool>,
|
|
|
|
|
BlockDesc*, std::vector<BlockDesc*>>;
|
|
|
|
|
boost::variant<boost::blank, int, float, std::string, std::vector<int>,
|
|
|
|
|
std::vector<float>, std::vector<std::string>, bool,
|
|
|
|
|
std::vector<bool>, BlockDesc*, int64_t,
|
|
|
|
|
std::vector<BlockDesc*>, std::vector<int64_t>>;
|
|
|
|
|
|
|
|
|
|
using AttributeMap = std::unordered_map<std::string, Attribute>;
|
|
|
|
|
|
|
|
|
|