2 // Copyright (c) 2019 Intel Corporation
4 // Licensed under the Apache License, Version 2.0 (the "License");
5 // you may not use this file except in compliance with the License.
6 // You may obtain a copy of the License at
8 // http://www.apache.org/licenses/LICENSE-2.0
10 // Unless required by applicable law or agreed to in writing, software
11 // distributed under the License is distributed on an "AS IS" BASIS,
12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 // See the License for the specific language governing permissions and
14 // limitations under the License.
17 ///////////////////////////////////////////////////////////////////////////////////////////////////
18 #ifndef STRIDED_SLICE_H
19 #define STRIDED_SLICE_H
24 /// @addtogroup c_api C API
26 /// @addtogroup c_topology Network Topology
28 /// @addtogroup c_primitives Primitives
35 CLDNN_BEGIN_PRIMITIVE_DESC(strided_slice)
36 /// @brief Array of bits, that provide replace begin[i] to max possible range in that dimension.
37 cldnn_uint8_t_arr begin_mask;
38 /// @brief Array of bits, that provide replace end[i] to max possible range in that dimension.
39 cldnn_uint8_t_arr end_mask;
40 /// @brief Array of bits, that provide adding a new length 1 dimension at ith position in the output tensor.
41 cldnn_uint8_t_arr new_axis_mask;
42 /// @brief Array of bits, that provide shrinks the dimensionality by 1, taking on the value at index begin[i].
43 cldnn_uint8_t_arr shrink_axis_mask;
44 CLDNN_END_PRIMITIVE_DESC(strided_slice)
46 CLDNN_DECLARE_PRIMITIVE_TYPE_ID(strided_slice);
55 #endif // STRIDED_SLICE_H