MCPcopy Create free account
hub / github.com/arrayfire/arrayfire / af_get_numdims

Function af_get_numdims

src/api/c/array.cpp:379–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379af_err af_get_numdims(unsigned *nd, const af_array in) {
380 try {
381 // Do not check for device mismatch
382 const ArrayInfo &info = getInfo(in, false);
383 *nd = info.ndims();
384 }
385 CATCHALL
386 return AF_SUCCESS;
387}
388
389#undef INSTANTIATE
390#define INSTANTIATE(fn1, fn2) \

Callers 7

TESTFunction · 0.50
iterDeconvImageTestFunction · 0.50
invDeconvImageTestFunction · 0.50
cannyImageOtsuTestFunction · 0.50
toTempFormatFunction · 0.50
imageTestFunction · 0.50
numDimsFunction · 0.50

Calls 1

ndimsMethod · 0.45

Tested by 1

toTempFormatFunction · 0.40