| 115 | } |
| 116 | |
| 117 | bool is_dynamic(const shape& s) const |
| 118 | { |
| 119 | return s.dynamic() and |
| 120 | std::any_of(s.dyn_dims().begin() + 2, s.dyn_dims().end(), [](const auto& dyn_dim) { |
| 121 | return not dyn_dim.is_fixed(); |
| 122 | }); |
| 123 | } |
| 124 | |
| 125 | operation make_conv_op(const std::string& name) const |
| 126 | { |