diff --git a/compiler/circle-resizer/include/Shape.h b/compiler/circle-resizer/include/Shape.h index 5b5d6debdba..91af8ec2da0 100644 --- a/compiler/circle-resizer/include/Shape.h +++ b/compiler/circle-resizer/include/Shape.h @@ -85,15 +85,15 @@ class Shape */ bool operator==(const Shape &rhs) const; - /** - * @brief Print the shape in format [1, 2, 3]. - */ - friend std::ostream &operator<<(std::ostream &os, const Shape &shape); - private: std::vector _dims; }; +/** + * @brief Print the shape in format [1, 2, 3]. + */ +std::ostream &operator<<(std::ostream &os, const Shape &shape); + } // namespace circle_resizer #endif // __CIRCLE_RESIZER_SHAPE_H__