Compute Library
 21.02
AutoConfiguration.h File Reference

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2021 Arm Limited.
 

Functions

bool auto_init_if_empty (ITensorInfo &info, const TensorShape &shape, int num_channels, DataType data_type, QuantizationInfo quantization_info=QuantizationInfo())
 Auto initialize the tensor info (shape, number of channels and data type) if the current assignment is empty. More...
 
bool auto_init_if_empty (ITensorInfo &info_sink, const ITensorInfo &info_source)
 Auto initialize the tensor info using another tensor info. More...
 
bool set_shape_if_empty (ITensorInfo &info, const TensorShape &shape)
 Set the shape to the specified value if the current assignment is empty. More...
 
bool set_format_if_unknown (ITensorInfo &info, Format format)
 Set the format, data type and number of channels to the specified value if the current data type is unknown. More...
 
bool set_data_type_if_unknown (ITensorInfo &info, DataType data_type)
 Set the data type and number of channels to the specified value if the current data type is unknown. More...
 
bool set_data_layout_if_unknown (ITensorInfo &info, DataLayout data_layout)
 Set the data layout to the specified value if the current data layout is unknown. More...
 
bool set_quantization_info_if_empty (ITensorInfo &info, QuantizationInfo quantization_info)
 Set the quantization info to the specified value if the current quantization info is empty and the data type of asymmetric quantized type. More...