Skip to content

Commit

Permalink
[onert] Fix wrong parent of StaticTensorManager (Samsung#3451)
Browse files Browse the repository at this point in the history
This fixes parent of StaticTensorManager from ITensorManager to IStaticTensorManager.

Signed-off-by: Hyun Sik Yoon <[email protected]>
  • Loading branch information
hyunsik-yoon authored Jul 27, 2020
1 parent e6471ba commit 6ad24e9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion runtime/onert/backend/cpu/StaticTensorManager.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
#ifndef __ONERT_BACKEND_CPU_STATICTENSOR_MANAGER_H__
#define __ONERT_BACKEND_CPU_STATICTENSOR_MANAGER_H__

#include "backend/IStaticTensorManager.h"
#include "backend/cpu_common/MemoryManager.h"
#include "backend/cpu_common/TensorRegistry.h"
#include "backend/ITensorManager.h"
Expand All @@ -30,7 +31,7 @@ namespace backend
namespace cpu
{

class StaticTensorManager : public backend::ITensorManager
class StaticTensorManager : public backend::IStaticTensorManager
{
public:
StaticTensorManager(const std::shared_ptr<cpu_common::TensorRegistry> &reg);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

#include "MemoryManager.h"

#include "backend/ITensorManager.h"
#include "backend/IStaticTensorManager.h"
#include "ir/OperandIndexMap.h"
#include "ir/OperandInfo.h"
#include "TensorRegistry.h"
Expand All @@ -31,7 +31,7 @@ namespace backend
namespace cpu_common
{

class StaticTensorManager : public backend::ITensorManager
class StaticTensorManager : public backend::IStaticTensorManager
{
public:
StaticTensorManager(const std::shared_ptr<TensorRegistry> &reg);
Expand Down

0 comments on commit 6ad24e9

Please sign in to comment.