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

Function wrap_axis

src/runtime/CL/functions/CLUnstack.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36namespace
37{
38inline unsigned int wrap_axis(int axis, const ITensorInfo *const tensor)
39{
40 return wrap_around(axis, static_cast<int>(tensor->num_dimensions()));
41}
42
43inline void setup_slice_coordinates_and_mask(Coordinates &slice_start,
44 int32_t &slice_end_mask,

Callers 2

configureMethod · 0.70
validateMethod · 0.70

Calls 2

wrap_aroundFunction · 0.85
num_dimensionsMethod · 0.45

Tested by

no test coverage detected