Browse Source

fix format

pull/1102/head
wjm 5 years ago
parent
commit
9d2ef0e85c
2 changed files with 4 additions and 6 deletions
  1. +3
    -6
      inc/framework/omg/ge_init.h
  2. +1
    -0
      inc/framework/omg/model_tool.h

+ 3
- 6
inc/framework/omg/ge_init.h View File

@@ -20,20 +20,17 @@
#include <string> #include <string>
#include "common/ge_inner_error_codes.h" #include "common/ge_inner_error_codes.h"


using std::string;
using std::map;

namespace ge { namespace ge {
class GE_FUNC_VISIBILITY GEInit { class GE_FUNC_VISIBILITY GEInit {
public: public:
// GE Environment Initialize, return Status: SUCCESS,FAILED // GE Environment Initialize, return Status: SUCCESS,FAILED
static Status Initialize(const map<string, string> &options);
static Status Initialize(const std::map<std::string, std::string> &options);


static string GetPath();
static std::string GetPath();


// GE Environment Finalize, return Status: SUCCESS,FAILED // GE Environment Finalize, return Status: SUCCESS,FAILED
static Status Finalize(); static Status Finalize();
}; };
} // namespace ge } // namespace ge


#endif // INIT_H_
#endif // INC_FRAMEWORK_OMG_GE_INIT_H_

+ 1
- 0
inc/framework/omg/model_tool.h View File

@@ -22,6 +22,7 @@


#include "framework/common/debug/ge_log.h" #include "framework/common/debug/ge_log.h"
#include "proto/ge_ir.pb.h" #include "proto/ge_ir.pb.h"

namespace ge { namespace ge {
class GE_FUNC_VISIBILITY ModelTool { class GE_FUNC_VISIBILITY ModelTool {
public: public:


Loading…
Cancel
Save