diff --git a/parser/common/convert/message2operator.h b/parser/common/convert/message2operator.h index 5b073fc..a1810cb 100644 --- a/parser/common/convert/message2operator.h +++ b/parser/common/convert/message2operator.h @@ -41,7 +41,7 @@ class Message2Operator { static void ParseRepeatedBaseTypeField(const google::protobuf::Reflection *reflection, const google::protobuf::Message *message, const google::protobuf::FieldDescriptor *field, - ge::Operator &ops); + ge::Operator &ops, const int field_size); }; } // namespace ge #endif // PARSER_MESSAGE2OPERATOR_H diff --git a/parser/tensorflow/graph_functiondef.h b/parser/tensorflow/graph_functiondef.h index 4a7a017..44cd48a 100644 --- a/parser/tensorflow/graph_functiondef.h +++ b/parser/tensorflow/graph_functiondef.h @@ -65,16 +65,6 @@ class GraphToFunctionDef { static void AddNodeAttr(const string &attr_name, const domi::tensorflow::AttrValue &value, domi::tensorflow::NodeDef *node_def); - private: - static domi::Status DataOpToFunctionDef(const ge::NodePtr &node, FunctionDef *fdef, - std::map &tensor_renaming, NameMapHelper &node_names); - - - static domi::Status NetoutputOpToFunctionDef(const ge::NodePtr &node, FunctionDef *fdef, - NameMapHelper &node_names); - - static domi::Status UpdateFunctionDef(const ge::NodePtr &node, NodeDef *node_def, - NameMapHelper &node_names); }; class NameMapHelper {