summaryrefslogtreecommitdiff
path: root/runtime/neurun/core/src/exec/interp/ExecManager.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/neurun/core/src/exec/interp/ExecManager.h')
-rw-r--r--runtime/neurun/core/src/exec/interp/ExecManager.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/runtime/neurun/core/src/exec/interp/ExecManager.h b/runtime/neurun/core/src/exec/interp/ExecManager.h
deleted file mode 100644
index f952abf02..000000000
--- a/runtime/neurun/core/src/exec/interp/ExecManager.h
+++ /dev/null
@@ -1,71 +0,0 @@
-/*
- * Copyright (c) 2019 Samsung Electronics Co., Ltd. All Rights Reserved
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/**
- * @file ExecManager.h
- * @brief This file contains ExecManager class\n
- * to manage interpreter execution and environment
- */
-#ifndef __NEURUN_EXEC_INTERP_EXEC_MANAGER_H_
-#define __NEURUN_EXEC_INTERP_EXEC_MANAGER_H_
-
-#include "ir/Graph.h"
-#include "exec/IExecutor.h"
-#include "Tensor.h"
-
-namespace neurun
-{
-namespace exec
-{
-namespace interp
-{
-
-/**
- * @brief Class to execute model using interpreter
- */
-class ExecManager final : public IExecutor
-{
-public:
- explicit ExecManager(const ir::Graph &graph) : _graph(graph)
- {
- // DO NOTHING
- }
-
-public:
- /**
- * @brief Return graph object
- * @return Graph object
- */
- const ir::Graph &graph() final { return _graph; }
- void setIndexedRanks(std::shared_ptr<ir::OperationIndexMap<int64_t>>) override{
- // Not implemented
- };
- /**
- * @brief Start execution
- * @note It should be called after setting input and output buffer
- */
- void execute(const IODescription &desc) final;
-
-private:
- const ir::Graph &_graph;
- ir::OperandIndexMap<std::shared_ptr<ITensor>> _tensor_map;
-};
-
-} // namespace interp
-} // namespace exec
-} // namespace neurun
-
-#endif // __NEURUN_EXEC_INTERP_EXEC_MANAGER_H_