17#ifndef __LUCI_IR_CIRCLERESHAPE_H__
18#define __LUCI_IR_CIRCLERESHAPE_H__
46 uint32_t
rank(
void)
const {
return _shape.size(); }
49 int32_t
dim(uint32_t n)
const {
return _shape.at(n); }
50 int32_t &
dim(uint32_t n) {
return _shape.at(n); }
53 std::vector<int32_t> _shape;
Logical unit of computation.
uint32_t rank(void) const
int32_t & dim(uint32_t n)
int32_t dim(uint32_t n) const
const Shape * newShape(void) const
void shape(loco::Node *node)
loco::Node * shape(void) const
loco::Node * tensor(void) const
void tensor(loco::Node *node)
Nodes with the fixed number of inputs.
loco::Use * at(uint32_t n) const