From 7e181ab907e93aa42cbe1415bc75445784b1062e Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9C=A4=ED=98=84=EC=8B=9D/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Thu, 9 May 2019 14:33:00 +0900 Subject: [PATCH] [nnkit] Removed unused methods in TensorContext (#3418) Two methods in TensorContext seems not to be used. So removed. Signed-off-by: Hyun Sik Yoon --- .../nnkit/libs/intf/tensor/include/nnkit/TensorContext.h | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/contrib/nnkit/libs/intf/tensor/include/nnkit/TensorContext.h b/contrib/nnkit/libs/intf/tensor/include/nnkit/TensorContext.h index 381841a..6725ac3 100644 --- a/contrib/nnkit/libs/intf/tensor/include/nnkit/TensorContext.h +++ b/contrib/nnkit/libs/intf/tensor/include/nnkit/TensorContext.h @@ -57,22 +57,8 @@ struct TensorContext virtual bool isFloatTensor(uint32_t n) const = 0; virtual void getMutableFloatTensor(uint32_t n, const TypedAccessor &cb) = 0; - void - getMutableFloatTensor(uint32_t n, - const std::function &)> &f) - { - getMutableFloatTensor(n, [&f](const TensorContext &, uint32_t, - nncc::core::ADT::tensor::Accessor &t) { f(t); }); - } virtual void getConstFloatTensor(uint32_t n, const TypedReader &cb) const = 0; - void getConstFloatTensor( - uint32_t n, - const std::function &)> &f) const - { - getConstFloatTensor(n, [&f](const TensorContext &, uint32_t, - const nncc::core::ADT::tensor::Reader &t) { f(t); }); - } }; } // namespace nnkit -- 2.7.4