|
25.11
|
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 52 of file DataTypeUtils.hpp.
References armnn::MakeEncoder(), and 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 armnn::MakeEncoder(), Encoder< IType >::Set(), and TensorInfo::SetDataType().