// // Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "../Dilation.hpp" #include <1.2/HalPolicy.hpp> DOCTEST_TEST_SUITE("DilationTests") { DOCTEST_TEST_CASE("ConvolutionExplicitPaddingNoDilation") { DilationTestOptions options; options.m_IsDepthwiseConvolution = false; options.m_IsPaddingExplicit = true; options.m_HasDilation = false; DilationTestImpl(options); } DOCTEST_TEST_CASE("ConvolutionExplicitPaddingDilation") { DilationTestOptions options; options.m_IsDepthwiseConvolution = false; options.m_IsPaddingExplicit = true; options.m_HasDilation = true; DilationTestImpl(options); } DOCTEST_TEST_CASE("ConvolutionImplicitPaddingNoDilation") { DilationTestOptions options; options.m_IsDepthwiseConvolution = false; options.m_IsPaddingExplicit = false; options.m_HasDilation = false; DilationTestImpl(options); } DOCTEST_TEST_CASE("ConvolutionImplicitPaddingDilation") { DilationTestOptions options; options.m_IsDepthwiseConvolution = false; options.m_IsPaddingExplicit = false; options.m_HasDilation = true; DilationTestImpl(options); } DOCTEST_TEST_CASE("DepthwiseConvolutionExplicitPaddingNoDilation") { DilationTestOptions options; options.m_IsDepthwiseConvolution = true; options.m_IsPaddingExplicit = true; options.m_HasDilation = false; DilationTestImpl(options); } DOCTEST_TEST_CASE("DepthwiseConvolutionExplicitPaddingDilation") { DilationTestOptions options; options.m_IsDepthwiseConvolution = true; options.m_IsPaddingExplicit = true; options.m_HasDilation = true; DilationTestImpl(options); } DOCTEST_TEST_CASE("DepthwiseConvolutionImplicitPaddingNoDilation") { DilationTestOptions options; options.m_IsDepthwiseConvolution = true; options.m_IsPaddingExplicit = false; options.m_HasDilation = false; DilationTestImpl(options); } DOCTEST_TEST_CASE("DepthwiseConvolutionImplicitPaddingDilation") { DilationTestOptions options; options.m_IsDepthwiseConvolution = true; options.m_IsPaddingExplicit = false; options.m_HasDilation = true; DilationTestImpl(options); } }