Compute Library
 21.08
SimpleTensor.h File Reference
#include "arm_compute/core/TensorShape.h"
#include "arm_compute/core/Types.h"
#include "arm_compute/core/Utils.h"
#include "tests/IAccessor.h"
#include "tests/Utils.h"
#include <algorithm>
#include <array>
#include <cstddef>
#include <cstdint>
#include <functional>
#include <memory>
#include <stdexcept>
#include <utility>

Go to the source code of this file.

Data Structures

class  SimpleTensor< T >
 Simple tensor object that stores elements in a consecutive chunk of memory. More...
 

Namespaces

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

Functions

template<typename T1 , typename T2 >
SimpleTensor< T1 > copy_tensor (const SimpleTensor< T2 > &tensor)
 
template<typename T1 , typename T2 , typename std::enable_if< std::is_same< T1, T2 >::value, int >::type = 0>
SimpleTensor< T1 > copy_tensor (const SimpleTensor< half > &tensor)
 
template<typename U >
void swap (SimpleTensor< U > &tensor1, SimpleTensor< U > &tensor2)