Skip to content

Commit

Permalink
Remove useless line, and add more headers.
Browse files Browse the repository at this point in the history
Remove useless line, and add more headers.

ONE-DCO-1.0-Signed-off-by: Banseok Lee <[email protected]>
  • Loading branch information
BLee-bot committed Nov 4, 2024
1 parent 99ea1df commit 2ec87c6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@

#include "record-hessian/HessianComputer.h"

#include <luci/IR/CircleNode.h>
#include <luci_interpreter/Interpreter.h>

#include <memory>

namespace record_hessian
Expand Down
4 changes: 1 addition & 3 deletions compiler/record-hessian/src/HessianObserver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#include "record-hessian/HessianObserver.h"

using DataType = luci_interpreter::DataType;

namespace record_hessian
{

Expand All @@ -31,7 +29,7 @@ void HessianObserver::postTensorWrite(const luci::CircleNode *node,
auto cur_node = dynamic_cast<luci::CircleNode *>(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 ||
Expand Down

0 comments on commit 2ec87c6

Please sign in to comment.