24.08
|
#include <ConversionUtils.hpp>
Public Member Functions | |
ConstTensorPin (bool optional=false) | |
ConstTensorPin (armnn::TensorInfo &tensorInfo, const void *valueStart, uint32_t numBytes, const armnn::PermutationVector &mappings) | |
ConstTensorPin (const ConstTensorPin &other)=delete | |
ConstTensorPin (ConstTensorPin &&other)=default | |
bool | IsValid () const |
bool | IsOptional () const |
const armnn::ConstTensor & | GetConstTensor () const |
const armnn::ConstTensor * | GetConstTensorPtr () const |
Definition at line 92 of file ConversionUtils.hpp.
ConstTensorPin | ( | bool | optional = false | ) |
Definition at line 82 of file ConversionUtils.cpp.
ConstTensorPin | ( | armnn::TensorInfo & | tensorInfo, |
const void * | valueStart, | ||
uint32_t | numBytes, | ||
const armnn::PermutationVector & | mappings | ||
) |
Definition at line 86 of file ConversionUtils.cpp.
References TensorInfo::GetNumBytes(), PermutationVector::GetSize(), armnn::IgnoreUnused(), and armnn_driver::SwizzleAndroidNn4dTensorToArmNn().
|
delete |
|
default |
const armnn::ConstTensor & GetConstTensor | ( | ) | const |
Definition at line 122 of file ConversionUtils.cpp.
Referenced by armnn_driver::ConvertToLayerInputHandle().
const armnn::ConstTensor * GetConstTensorPtr | ( | ) | const |
Definition at line 127 of file ConversionUtils.cpp.
References BaseTensor< MemoryType >::GetNumElements(), and ConstTensorPin::IsValid().
bool IsOptional | ( | ) | const |
Definition at line 117 of file ConversionUtils.cpp.
bool IsValid | ( | ) | const |
Definition at line 112 of file ConversionUtils.cpp.
References BaseTensor< MemoryType >::GetMemoryArea().
Referenced by armnn_driver::ConvertToLayerInputHandle(), and ConstTensorPin::GetConstTensorPtr().