Searched defs:ShapeValue (Results 1 – 1 of 1) sorted by relevance
106 struct ShapeValue { struct107 explicit ShapeValue(Value vector) in ShapeValue() function109 explicit ShapeValue(ValueOrConst vector) : shape({vector}), is_vector(true) { in ShapeValue() function113 explicit ShapeValue(T values) in ShapeValue() function116 ValueOrConst vector() const { in vector()121 ArrayRef<ValueOrConst> scalars() const { in scalars()126 bool isVector() const { return is_vector; } in isVector()129 SmallVector<ValueOrConst, 4> shape;130 bool is_vector;