Searched refs:ListShape (Results 1 – 4 of 4) sorted by relevance
137 class MS_CORE_API ListShape : public SequeueShape {139 ListShape() : SequeueShape() {} in ListShape() function140 explicit ListShape(const BaseShapePtrList &shapes) : SequeueShape(shapes) {} in ListShape() function141 ~ListShape() override = default;142 MS_DECLARE_PARENT(ListShape, SequeueShape) in MS_DECLARE_PARENT() argument146 …BaseShapePtr Clone() const override { return std::make_shared<ListShape>(SequeueShape::ElementsClo… in Clone()148 bool operator==(const BaseShape &other) const override { return SequeueEqual<ListShape>(other); }150 using ListShapePtr = std::shared_ptr<ListShape>;
153 template bool SequeueShape::SequeueEqual<ListShape>(const BaseShape &) const;
404 } else if (base_shape->isa<ListShape>() && type->isa<List>()) { in MakeAbstract()
431 BaseShapePtr BuildShape() const override { return std::make_shared<ListShape>(ElementsShape()); } in BuildShape()