diff options
Diffstat (limited to 'arm_compute/core/Helpers.h')
-rw-r--r-- | arm_compute/core/Helpers.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arm_compute/core/Helpers.h b/arm_compute/core/Helpers.h index edb05e99a1..13d1f6c99f 100644 --- a/arm_compute/core/Helpers.h +++ b/arm_compute/core/Helpers.h @@ -476,6 +476,15 @@ bool auto_init_if_empty(ITensorInfo &info, int fixed_point_position, QuantizationInfo quantization_info = QuantizationInfo()); +/** Auto initialize the tensor info using another tensor info. + * + * @param info_sink Tensor info used to check and assign + * @param info_source Tensor info used to assign + * + * @return True if the tensor info has been initialized + */ +bool auto_init_if_empty(ITensorInfo &info_sink, ITensorInfo &info_source); + /* Set the shape to the specified value if the current assignment is empty. * * @param[in,out] info Tensor info used to check and assign. |