You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
41 lines
828 B
41 lines
828 B
//
|
|
// Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
|
|
// SPDX-License-Identifier: MIT
|
|
//
|
|
|
|
#include "../Convolution2D.hpp"
|
|
|
|
#include <log/log.h>
|
|
|
|
#include <OperationsUtils.h>
|
|
|
|
using namespace android::hardware;
|
|
using namespace driverTestHelpers;
|
|
using namespace armnn_driver;
|
|
|
|
namespace driverTestHelpers
|
|
{
|
|
|
|
void SetModelFp16Flag(V1_0::Model&, bool)
|
|
{
|
|
// Nothing to do, the V1_0::Model does not support fp16 precision relaxation.
|
|
// This function is used for compatibility only.
|
|
}
|
|
|
|
} // namespace driverTestHelpers
|
|
|
|
DOCTEST_TEST_SUITE("Convolution2DTests_1.0")
|
|
{
|
|
|
|
DOCTEST_TEST_CASE("ConvValidPadding_Hal_1_0")
|
|
{
|
|
PaddingTestImpl<hal_1_0::HalPolicy>(android::nn::kPaddingValid);
|
|
}
|
|
|
|
DOCTEST_TEST_CASE("ConvSamePadding_Hal_1_0")
|
|
{
|
|
PaddingTestImpl<hal_1_0::HalPolicy>(android::nn::kPaddingSame);
|
|
}
|
|
|
|
}
|