[loco] Using FixedReshape (#6496)
author박천교/On-Device Lab(SR)/Engineer/삼성전자 <ch.bahk@samsung.com>
Tue, 13 Aug 2019 01:34:00 +0000 (10:34 +0900)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>
Tue, 13 Aug 2019 01:34:00 +0000 (10:34 +0900)
This commit introduces alias for Reshape<ReshapeType::Fixed> loco node.

Signed-off-by: Cheongyo Bahk <ch.bahk@samsung.com>
compiler/loco/include/loco/IR/Nodes.h

index ea65904..8b9c840 100644 (file)
@@ -463,6 +463,8 @@ public:
   void input(Node *node) { at(0)->node(node); }
 };
 
+using FixedReshape = Reshape<ReshapeType::Fixed>;
+
 /**
  * @brief Concatenate two tensors
  *