[neurun] Remove IObject.h (#9407)
author이한종/On-Device Lab(SR)/Engineer/삼성전자 <hanjoung.lee@samsung.com>
Thu, 5 Dec 2019 08:23:20 +0000 (17:23 +0900)
committer오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Thu, 5 Dec 2019 08:23:20 +0000 (17:23 +0900)
All the use of IObjects were removed but `IObject.h`.

Signed-off-by: Hanjoung Lee <hanjoung.lee@samsung.com>
runtime/neurun/backend/cpu/kernel/PermuteLayer.h
runtime/neurun/core/include/backend/ITensorBuilder.h
runtime/neurun/core/include/backend/operand/IObject.h [deleted file]
runtime/neurun/core/include/util/Utils.h

index 40a355c..2c7113e 100644 (file)
@@ -21,7 +21,6 @@
 
 #include "util/feature/nhwc/View.h"
 #include "OperationUtils.h"
-#include <backend/operand/IObject.h>
 #include "model/operation/Permute.h"
 #include "util/feature/nhwc/Reader.h"
 #include "util/feature/nchw/View.h"
index 88866f7..04a4e31 100644 (file)
@@ -23,7 +23,6 @@
 #include "model/OperandInfo.h"
 #include "model/Operation.h"
 #include "model/Layout.h"
-#include "operand/IObject.h"
 #include "operand/ITensor.h"
 #include "compiler/SubTensorInfo.h"
 #include "ITensorManager.h"
diff --git a/runtime/neurun/core/include/backend/operand/IObject.h b/runtime/neurun/core/include/backend/operand/IObject.h
deleted file mode 100644 (file)
index 56eea34..0000000
+++ /dev/null
@@ -1,42 +0,0 @@
-/*
- * Copyright (c) 2018 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.
- */
-
-#ifndef __NEURUN_BACKEND_OPERAND_I_OBJECT_H__
-#define __NEURUN_BACKEND_OPERAND_I_OBJECT_H__
-
-#include <functional>
-
-#include "ITensor.h"
-
-namespace neurun
-{
-namespace backend
-{
-namespace operand
-{
-
-struct IObject
-{
-  virtual ~IObject() = default;
-  virtual operand::ITensor *ptr(void) const = 0;
-  virtual void access(const std::function<void(operand::ITensor &tensor)> &fn) const = 0;
-};
-
-} // namespace operand
-} // namespace backend
-} // namespace neurun
-
-#endif // __NEURUN_BACKEND_OPERAND_I_OBJECT_H__
index c472dd7..36edd9e 100644 (file)
@@ -27,7 +27,6 @@
 #include "model/Layout.h"
 #include "model/Operand.h"
 #include "util/Coordinates.h"
-#include "backend/operand/IObject.h"
 
 #define UNUSED_RELEASE(a) (void)(a)