Home
last modified time | relevance | path

Searched refs:is_reflect (Results 1 – 1 of 1) sorted by relevance

/external/ComputeLibrary/src/core/CL/kernels/
DCLPadLayerKernel.cpp47 const auto is_reflect = static_cast<unsigned int>(mode == PaddingMode::REFLECT); in validate_arguments() local
50 ARM_COMPUTE_RETURN_ERROR_ON(padding.at(i).first > (input->dimension(i) - is_reflect)); in validate_arguments()
51 ARM_COMPUTE_RETURN_ERROR_ON(padding.at(i).second > (input->dimension(i) - is_reflect)); in validate_arguments()
152 const auto is_reflect = static_cast<unsigned int>(mode == PaddingMode::REFLECT); in configure() local
155 … const unsigned int after_pad_fact_x = (2 * input_width + pad_x_before) - is_reflect; in configure()
158 build_opts.add_option("-DIS_REFLECT=" + support::cpp11::to_string(is_reflect)); in configure()
160 …RE_REMAINDER_REFL=" + support::cpp11::to_string((pad_x_before_remainder + is_reflect) % vec_size)); in configure()
161 …TER_REMAINDER_REFL=" + support::cpp11::to_string((pad_x_after_remainder - is_reflect) % vec_size)); in configure()