[trivial/Fix] add dependency header
authorJihoon Lee <jhoon.it.lee@samsung.com>
Mon, 29 Nov 2021 05:45:57 +0000 (14:45 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Mon, 29 Nov 2021 07:10:50 +0000 (16:10 +0900)
As fwd declaration is widely used, run context header needs to be added
where it is being used

**Self evaluation:**
1. Build test: [X]Passed [ ]Failed [ ]Skipped
2. Run test: [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
nntrainer/layers/grucell.cpp
nntrainer/layers/layer_context.h

index bb4e831..4673957 100644 (file)
@@ -1,6 +1,6 @@
 // SPDX-License-Identifier: Apache-2.0
 /**
- * Copyright (C) 2020 hyeonseok lee <hs89.lee@samsung.com>
+ * Copyright (C) 2021 hyeonseok lee <hs89.lee@samsung.com>
  *
  * @file   grucell.cpp
  * @date   28 Oct 2021
@@ -35,6 +35,8 @@
 #include <node_exporter.h>
 #include <util_func.h>
 
+#include <layer_context.h>
+
 namespace nntrainer {
 
 static constexpr size_t SINGLE_INOUT_IDX = 0;
index 7a29ed1..8018ef8 100644 (file)
@@ -295,7 +295,7 @@ private:
  * @class   Layer Context class for all layers
  * @brief   Class for Layer context
  *
- * @details This provides for the layer executiong. This context will contain
+ * @details This provides for the layer executing. This context will contain
  * structures with memory allocated or support to allocate any new memory, but
  * rather only support storing specifications based on which memory will be
  * allocated later.