| 30 | using loco::FeatureAxis; |
| 31 | |
| 32 | inline bool valid(const FeatureAxis &axis) |
| 33 | { |
| 34 | switch (axis) |
| 35 | { |
| 36 | case FeatureAxis::Count: |
| 37 | return true; |
| 38 | case FeatureAxis::Depth: |
| 39 | return true; |
| 40 | case FeatureAxis::Height: |
| 41 | return true; |
| 42 | case FeatureAxis::Width: |
| 43 | return true; |
| 44 | default: |
| 45 | break; |
| 46 | } |
| 47 | |
| 48 | return false; |
| 49 | } |
| 50 | |
| 51 | inline bool valid(const loco::Permutation<loco::Domain::Feature> &perm) |
| 52 | { |