|
1 | | -#ifndef _FLEXFLOW_LIB_OP_ATTRS_INCLUDE_OP_ATTRS_DIM_ORDERED_SLICE_H |
2 | | -#define _FLEXFLOW_LIB_OP_ATTRS_INCLUDE_OP_ATTRS_DIM_ORDERED_SLICE_H |
3 | | - |
4 | 1 | #include "op-attrs/dim_ordered/slice.h" |
5 | 2 | #include "utils/archetypes/value_type.h" |
6 | 3 |
|
7 | 4 | namespace FlexFlow { |
8 | 5 |
|
9 | 6 | using T = value_type<0>; |
10 | 7 |
|
11 | | -template |
12 | | - FFOrdered<T> ff_dim_t_nonoverloaded_slice(FFOrdered<T> const &d, |
13 | | - std::optional<ff_dim_t> const &start, |
14 | | - std::optional<ff_dim_t> const &end); |
| 8 | +template FFOrdered<T> |
| 9 | + ff_dim_t_nonoverloaded_slice(FFOrdered<T> const &d, |
| 10 | + std::optional<ff_dim_t> const &start, |
| 11 | + std::optional<ff_dim_t> const &end); |
15 | 12 |
|
16 | | -template |
17 | | - FFOrdered<T> relative_ff_dim_t_nonoverloaded_slice( |
| 13 | +template FFOrdered<T> relative_ff_dim_t_nonoverloaded_slice( |
18 | 14 | FFOrdered<T> const &d, |
19 | 15 | std::optional<relative_ff_dim_t> const &start, |
20 | 16 | std::optional<relative_ff_dim_t> const &end); |
21 | 17 |
|
22 | | -template |
23 | | - FFOrdered<T> slice(FFOrdered<T> const &d, |
24 | | - std::optional<ff_dim_t> const &start, |
25 | | - std::optional<ff_dim_t> const &end); |
| 18 | +template FFOrdered<T> slice(FFOrdered<T> const &d, |
| 19 | + std::optional<ff_dim_t> const &start, |
| 20 | + std::optional<ff_dim_t> const &end); |
26 | 21 |
|
27 | | -template |
28 | | - FFOrdered<T> slice(FFOrdered<T> const &d, |
29 | | - std::optional<relative_ff_dim_t> const &start, |
30 | | - std::optional<relative_ff_dim_t> const &end); |
| 22 | +template FFOrdered<T> slice(FFOrdered<T> const &d, |
| 23 | + std::optional<relative_ff_dim_t> const &start, |
| 24 | + std::optional<relative_ff_dim_t> const &end); |
31 | 25 |
|
32 | 26 | } // namespace FlexFlow |
33 | | - |
34 | | -#endif |
0 commit comments