Commit ed4a8ad6 authored by Shucai Xiao's avatar Shucai Xiao
Browse files

clang format

parent b43f4184
...@@ -60,7 +60,7 @@ struct shape ...@@ -60,7 +60,7 @@ struct shape
std::size_t min = 0; std::size_t min = 0;
std::size_t max = 0; std::size_t max = 0;
std::size_t opt = 0; std::size_t opt = 0;
// is the dimension fixed // is the dimension fixed
bool is_fixed() const; bool is_fixed() const;
......
...@@ -46,10 +46,10 @@ struct shape_impl ...@@ -46,10 +46,10 @@ struct shape_impl
shape_impl(const std::vector<shape>& subs) : m_type(shape::tuple_type), m_shapes(subs) {} shape_impl(const std::vector<shape>& subs) : m_type(shape::tuple_type), m_shapes(subs) {}
shape::type_t m_type; shape::type_t m_type;
std::vector<std::size_t> m_lens = {}; std::vector<std::size_t> m_lens = {};
std::vector<std::size_t> m_strides = {}; std::vector<std::size_t> m_strides = {};
std::vector<shape> m_shapes = {}; std::vector<shape> m_shapes = {};
bool m_standard = false; bool m_standard = false;
std::vector<shape::dynamic_dimension> dynamic_dims = {}; std::vector<shape::dynamic_dimension> dynamic_dims = {};
void calculate_strides() void calculate_strides()
......
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