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

Method size

tests/SimpleTensor.h:349–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

347
348template <typename T>
349size_t SimpleTensor<T>::size() const
350{
351 const size_t size = std::accumulate(_shape.cbegin(), _shape.cend(), size_t(1), std::multiplies<size_t>());
352 return size * element_size();
353}
354
355template <typename T>
356Format SimpleTensor<T>::format() const

Callers 15

TypePrinter.hFile · 0.45
to_stringFunction · 0.45
access_tensorMethod · 0.45
init_tensorMethod · 0.45
fill_tensorMethod · 0.45
fill_tensor_vectorFunction · 0.45
parseMethod · 0.45
extract_r_from_rgbFunction · 0.45
extract_g_from_rgbFunction · 0.45
extract_b_from_rgbFunction · 0.45
read_image_bufferFunction · 0.45
load_ppmFunction · 0.45

Calls 3

accumulateFunction · 0.85
cbeginMethod · 0.45
cendMethod · 0.45

Tested by

no test coverage detected