MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / resize

Method resize

arm_compute/core/IArray.h:126–130  ·  view source on GitHub ↗

Resizes the array to contain "num" elements. If "num" is smaller than the maximum array size, the content is reduced to its first "num" elements, * "num" elements can't be bigger than the maximum number of values which can be stored in this array. * * @param[in] num The new array size in number of elements */

Source from the content-addressed store, hash-verified

124 * @param[in] num The new array size in number of elements
125 */
126 void resize(size_t num)
127 {
128 ARM_COMPUTE_ERROR_ON(num > max_num_values());
129 _num_values = num;
130 };
131
132private:
133 size_t _num_values;

Callers 15

configureMethod · 0.45
configureMethod · 0.45
validateMethod · 0.45
digit_reverse_indicesFunction · 0.45
runMethod · 0.45
CpuDynamicGemm.cppFile · 0.45
create_arm_dwc_quantFunction · 0.45
openclTraceEndMethod · 0.45
buildMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected