24.08
|
Go to the source code of this file.
Functions | |
template<armnn::DataType ArmnnType, typename T = armnn::ResolveType<ArmnnType>> | |
std::vector< T > | ConvertToDataType (const std::vector< float > &input, const armnn::TensorInfo &inputTensorInfo) |
template<typename T > | |
T | ConvertToDataType (const float &value, const armnn::TensorInfo &tensorInfo) |
T ConvertToDataType | ( | const float & | value, |
const armnn::TensorInfo & | tensorInfo | ||
) |
Definition at line 37 of file DataTypeUtils.hpp.
References Encoder< IType >::Set().
std::vector<T> ConvertToDataType | ( | const std::vector< float > & | input, |
const armnn::TensorInfo & | inputTensorInfo | ||
) |
Definition at line 17 of file DataTypeUtils.hpp.
References Encoder< IType >::Set(), and TensorInfo::SetDataType().