1 // Copyright (C) 2018-2019 Intel Corporation
2 // SPDX-License-Identifier: Apache-2.0
9 #include "ie_util_internal.hpp"
11 namespace InferenceEngine {
13 class INFERENCE_ENGINE_API_CLASS(Paddings) {
15 PropertyVector<unsigned int> begin;
16 PropertyVector<unsigned int> end;
20 * @brief gets padding with runtime type check
22 INFERENCE_ENGINE_API_CPP(Paddings) getPaddingsImpl(const CNNLayer &layer);
25 * @brief gets padding without compile-time type check
28 inline typename std::enable_if<is_one_of<T,
31 BinaryConvolutionLayer,
32 PoolingLayer>::value, Paddings>::type
33 getPaddings(const T & layer) {
34 return getPaddingsImpl(layer);
38 } // namespace InferenceEngine