Compute Library
 21.02
Utils.h File Reference

Go to the source code of this file.

Namespaces

 arm_compute
 Copyright (c) 2017-2021 Arm Limited.
 

Functions

template<typename T , typename... Ts>
Strides compute_strides (const ITensorInfo &info, T stride_x, Ts &&... fixed_strides)
 Create a strides object based on the provided strides and the tensor dimensions. More...
 
template<typename... Ts>
Strides compute_strides (const ITensorInfo &info)
 Create a strides object based on the tensor dimensions. More...
 
unsigned int get_next_power_two (unsigned int x)
 Given an integer value, this function returns the next power of two. More...