24.02.1
|
Go to the source code of this file.
Namespaces | |
arm_compute | |
Copyright (c) 2017-2024 Arm Limited. | |
Functions | |
size_t | data_size_from_type (DataType data_type) |
The size in bytes of the data type. More... | |
size_t | element_size_from_data_type (DataType dt) |
The size in bytes of the data type. More... | |
DataType | data_type_from_format (Format format) |
Return the data type used by a given single-planar pixel format. More... | |
DataType | get_promoted_data_type (DataType dt) |
Return the promoted data type of a given data type. More... | |
std::tuple< PixelValue, PixelValue > | get_min_max (DataType dt) |
Compute the mininum and maximum values a data type can take. More... | |
const std::string & | string_from_data_type (DataType dt) |
Convert a data type identity into a string. More... | |
DataType | data_type_from_name (const std::string &name) |
Convert a string to DataType. More... | |
inline ::std::istream & | operator>> (::std::istream &stream, DataType &data_type) |
Input Stream operator for DataType. More... | |
bool | is_data_type_float (DataType dt) |
Check if a given data type is of floating point type. More... | |
bool | is_data_type_quantized (DataType dt) |
Check if a given data type is of quantized type. More... | |
bool | is_data_type_quantized_asymmetric (DataType dt) |
Check if a given data type is of asymmetric quantized type. More... | |
bool | is_data_type_quantized_asymmetric_signed (DataType dt) |
Check if a given data type is of asymmetric quantized signed type. More... | |
bool | is_data_type_quantized_symmetric (DataType dt) |
Check if a given data type is of symmetric quantized type. More... | |
bool | is_data_type_quantized_per_channel (DataType dt) |
Check if a given data type is of per channel type. More... | |
template<typename T > | |
bool | check_value_range (T val, DataType dt, QuantizationInfo qinfo=QuantizationInfo()) |
Returns true if the value can be represented by the given data type. More... | |
std::string | cpu_impl_dt (const DataType &data_type) |
Returns the suffix string of CPU kernel implementation names based on the given data type. More... | |