17#ifndef __LUCI_IR_CIRCLENODEDECL_H__
18#define __LUCI_IR_CIRCLENODEDECL_H__
72 std::unique_ptr<CircleQuantParam> _quantparam;
73 std::unique_ptr<SparsityParam> _sparsityparam;
75 int32_t _op_version = 1;
82 uint32_t
opnum(
void)
const final {
return static_cast<uint32_t
>(Code); }
Logical unit of computation.
ShapeStatus
ShapeStatus is to remember circle node shape status.
CircleQuantParam * quantparam(void) const
void quantparam(std::unique_ptr< CircleQuantParam > &&quantparam)
void shape_status(ShapeStatus ss)
SparsityParam * sparsityparam(void) const
virtual ~CircleNode()=default
int32_t op_version(void) const
NodeName name(void) const
void name(const NodeName &name)
virtual CircleOpcode opcode(void) const =0
void sparsityparam(std::unique_ptr< SparsityParam > &&sparsityparam)
ShapeStatus shape_status(void) const
T accept(CircleNodeVisitorBase< T > *) const
void op_version(int32_t op_version)
const loco::Dialect * dialect(void) const final
Return "Dialect" identifier that this node belongs to.
CircleOpcode opcode(void) const final
uint32_t opnum(void) const final
virtual ~CircleNodeImpl()=default