From 2ec87c63ba97f84f169278be03c0a189ed8ec0ba Mon Sep 17 00:00:00 2001 From: blee-bot <93bslee@gmail.com> Date: Mon, 4 Nov 2024 16:30:22 +0900 Subject: [PATCH] Remove useless line, and add more headers. Remove useless line, and add more headers. ONE-DCO-1.0-Signed-off-by: Banseok Lee --- .../record-hessian/include/record-hessian/HessianObserver.h | 3 +++ compiler/record-hessian/src/HessianObserver.cpp | 4 +--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/compiler/record-hessian/include/record-hessian/HessianObserver.h b/compiler/record-hessian/include/record-hessian/HessianObserver.h index bc3159474b1..283d9e2a377 100644 --- a/compiler/record-hessian/include/record-hessian/HessianObserver.h +++ b/compiler/record-hessian/include/record-hessian/HessianObserver.h @@ -19,6 +19,9 @@ #include "record-hessian/HessianComputer.h" +#include +#include + #include namespace record_hessian diff --git a/compiler/record-hessian/src/HessianObserver.cpp b/compiler/record-hessian/src/HessianObserver.cpp index 6278e45fc2f..58bbf0e8da5 100644 --- a/compiler/record-hessian/src/HessianObserver.cpp +++ b/compiler/record-hessian/src/HessianObserver.cpp @@ -16,8 +16,6 @@ #include "record-hessian/HessianObserver.h" -using DataType = luci_interpreter::DataType; - namespace record_hessian { @@ -31,7 +29,7 @@ void HessianObserver::postTensorWrite(const luci::CircleNode *node, auto cur_node = dynamic_cast(node_output); if (cur_node == nullptr) { - throw std::runtime_error("Record Hessian: Node shouldn't be null."); + throw std::runtime_error("Record Hessian: node output shouldn't be null."); } // TODO : ADD TCONV/DepthCONV cases if (cur_node->opcode() == luci::CircleOpcode::FULLY_CONNECTED ||