|
|
|
@@ -20,20 +20,17 @@ |
|
|
|
#include <string> |
|
|
|
#include "common/ge_inner_error_codes.h" |
|
|
|
|
|
|
|
using std::string; |
|
|
|
using std::map; |
|
|
|
|
|
|
|
namespace ge { |
|
|
|
class GE_FUNC_VISIBILITY GEInit { |
|
|
|
public: |
|
|
|
// 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 |
|
|
|
static Status Finalize(); |
|
|
|
}; |
|
|
|
} // namespace ge |
|
|
|
|
|
|
|
#endif // INIT_H_ |
|
|
|
#endif // INC_FRAMEWORK_OMG_GE_INIT_H_ |