Since use TFLConst (not anything like Nop), I changed the opcode also.
Signed-off-by: Hyun Sik Yoon <hyunsik.yoon@samsung.com>
* @brief Class to build tensor data
* @note This will not be exported as a specific op
*/
-class TFLConst final : public FixedArityNode<0, TFLNodeImpl<TFLOpcode::NOP_CONSTGEN>>,
+class TFLConst final : public FixedArityNode<0, TFLNodeImpl<TFLOpcode::CONST>>,
public loco::NodeMixin<loco::NodeTrait::DataType>,
public loco::NodeMixin<loco::NodeTrait::TensorShape>
{
TFL_NODE(ADD, locoex::TFLAdd)
TFL_NODE(AVERAGE_POOL_2D, locoex::TFLAveragePool2D)
// TODO TFLConcatenation
-TFL_NODE(NOP_CONSTGEN, locoex::TFLConst)
+TFL_NODE(CONST, locoex::TFLConst)
// TODO TFLConv2D
// TODO TFLDepthwiseConv2D
TFL_NODE(DIV, locoex::TFLDiv)