Compute Library
 21.08
Utils.cpp File Reference
#include "Utils.h"
#include "tests/validation/Helpers.h"

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2021 Arm Limited.
 
 arm_compute::test
 
 arm_compute::test::validation
 

Functions

template<typename T >
bilinear_policy (const SimpleTensor< T > &in, Coordinates id, float xn, float yn, BorderMode border_mode, T constant_border_value)
 
template int8_t bilinear_policy (const SimpleTensor< int8_t > &in, Coordinates id, float xn, float yn, BorderMode border_mode, int8_t constant_border_value)
 
template uint8_t bilinear_policy (const SimpleTensor< uint8_t > &in, Coordinates id, float xn, float yn, BorderMode border_mode, uint8_t constant_border_value)
 
template int16_t bilinear_policy (const SimpleTensor< int16_t > &in, Coordinates id, float xn, float yn, BorderMode border_mode, int16_t constant_border_value)
 
template half bilinear_policy (const SimpleTensor< half > &in, Coordinates id, float xn, float yn, BorderMode border_mode, half constant_border_value)
 
template float bilinear_policy (const SimpleTensor< float > &in, Coordinates id, float xn, float yn, BorderMode border_mode, float constant_border_value)
 
RawTensor transpose (const RawTensor &src, int chunk_width)
 
bool valid_bilinear_policy (float xn, float yn, int width, int height, BorderMode border_mode)