"src/git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "2d635f91e07c9d0e56e50d75b316fe27a612e326"
Commit 91f89fcc authored by charlie's avatar charlie
Browse files

Remove shape.empty() function, wasn't used

parent 48c7c810
...@@ -214,9 +214,6 @@ struct shape ...@@ -214,9 +214,6 @@ struct shape
/// Return true if the shape is dynamic /// Return true if the shape is dynamic
bool dynamic() const; bool dynamic() const;
/// Returns true if the shape is empty
bool empty() const;
shape normalize_standard() const; shape normalize_standard() const;
shape with_lens(type_t t, const std::vector<std::size_t>& l) const; shape with_lens(type_t t, const std::vector<std::size_t>& l) const;
......
...@@ -443,8 +443,6 @@ std::string shape::type_string() const { return name(this->type()); } ...@@ -443,8 +443,6 @@ std::string shape::type_string() const { return name(this->type()); }
bool shape::dynamic() const { return not impl->m_dyn_dims.empty(); } bool shape::dynamic() const { return not impl->m_dyn_dims.empty(); }
bool shape::empty() const { return max_lens().empty(); }
const std::vector<shape::dynamic_dimension>& shape::dyn_dims() const { return impl->m_dyn_dims; } const std::vector<shape::dynamic_dimension>& shape::dyn_dims() const { return impl->m_dyn_dims; }
std::vector<std::size_t> shape::min_lens() const std::vector<std::size_t> shape::min_lens() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment