From: 채성우/On-Device Lab(SR)/Engineer/삼성전자 Date: Sun, 30 Jun 2019 23:27:22 +0000 (+0900) Subject: [loco] modify struct to class (#4016) X-Git-Tag: nncc_backup~240 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=05cf79dbbb8a67b5098c1f86c8a2e7aa9fbc4371;p=platform%2Fcore%2Fml%2Fnnfw.git [loco] modify struct to class (#4016) This commit modify struct to class in Nodes.h for unity Signed-off-by: seongwoo --- diff --git a/contrib/loco/include/loco/IR/Nodes.h b/contrib/loco/include/loco/IR/Nodes.h index 112f567..93559f5 100644 --- a/contrib/loco/include/loco/IR/Nodes.h +++ b/contrib/loco/include/loco/IR/Nodes.h @@ -198,7 +198,7 @@ private: * before/after MaxPool2D node according to the semantics of the corresponding NN framework. * --- */ -struct MaxPool2D final : public FixedArityNode<1, CanonicalNodeImpl> +class MaxPool2D final : public FixedArityNode<1, CanonicalNodeImpl> { public: Node *ifm(void) const { return at(0)->node(); } @@ -230,7 +230,7 @@ private: * * @note Follows MaxPool2D (TODO: describe difference) */ -struct AvgPool2D final : public FixedArityNode<1, CanonicalNodeImpl> +class AvgPool2D final : public FixedArityNode<1, CanonicalNodeImpl> { public: enum class Convention